Skip to content

Commit

Permalink
Minor update for Windows build.
Browse files Browse the repository at this point in the history
  • Loading branch information
qnzhou committed Sep 22, 2018
1 parent 379eaf7 commit 7d78903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ SET(SRC_FILES src/predicates.cpp
src/make_tet_mesh.cpp)

ADD_LIBRARY(quartet ${SRC_FILES})
TARGET_LINK_LIBRARIES(quartet PRIVATE m)
if(UNIX)
target_compile_options(quartet PRIVATE -fPIC)
TARGET_COMPILE_OPTIONS(quartet PRIVATE -fPIC)
TARGET_LINK_LIBRARIES(quartet PRIVATE m)
endif(UNIX)

ADD_EXECUTABLE(quartet_bin src/main.cpp)
Expand Down

0 comments on commit 7d78903

Please sign in to comment.