-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumped min. req. CMake version to fix CMake warnings.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# Set the minimum required version of cmake for a project. | ||
cmake_minimum_required(VERSION 2.6) | ||
cmake_minimum_required(VERSION 2.8.12) | ||
|
||
# Add an executable to the project using the specified source files. | ||
add_executable(tetgen tetgen.cxx predicates.cxx) | ||
|
||
#Add a library to the project using the specified source files. | ||
#Add a library to the project using the specified source files. | ||
# In Linux/Unix, it will creates the libtet.a | ||
add_library(tet STATIC tetgen.cxx predicates.cxx) | ||
|
||
#Set properties on a target. | ||
#Set properties on a target. | ||
#We use this here to set -DTETLIBRARY for when compiling the | ||
#library | ||
set_target_properties(tet PROPERTIES "COMPILE_DEFINITIONS" TETLIBRARY) | ||
set_target_properties(tet PROPERTIES "COMPILE_DEFINITIONS" TETLIBRARY) |