File tree Expand file tree Collapse file tree 1 file changed +12
-20
lines changed
Expand file tree Collapse file tree 1 file changed +12
-20
lines changed Original file line number Diff line number Diff line change @@ -28,27 +28,19 @@ target_link_libraries(utils lbfgsb sprng)
2828##################################################################
2929option (BUILD_DECENTTREE "build decenttree" ON )
3030
31- #if(BUILD_DECENTTREE)
32- # add_executable(decentTree
33- # decenttree.cpp
34- # starttree.cpp bionj.cpp bionj2.cpp
35- # gzstream.cpp progress.cpp operatingsystem.cpp)
31+ if (BUILD_DECENTTREE)
32+ add_executable (decentTree
33+ decenttree.cpp
34+ starttree.cpp bionj.cpp bionj2.cpp
35+ gzstream.cpp progress.cpp operatingsystem.cpp )
36+ endif (BUILD_DECENTTREE )
3637
38+ if (ZLIB_FOUND)
39+ target_link_libraries (decentTree ${ZLIB_LIBRARIES} )
40+ else (ZLIB_FOUND )
41+ target_link_libraries (decentTree zlibstatic )
42+ endif (ZLIB_FOUND )
3743
3844if (CLANG AND WIN32 )
39- target_link_libraries (decentTree ${PROJECT_SOURCE_DIR} /lib/libiomp5md.dll )
40-
41- if (ZLIB_FOUND)
42- target_link_libraries (decentTree ${ZLIB_LIBRARIES} )
43- else (ZLIB_FOUND )
44- target_link_libraries (decentTree zlibstatic )
45- endif (ZLIB_FOUND )
46-
47- if (CLANG AND WIN32 )
48- if (BINARY32)
49- target_link_libraries (decentTree ${PROJECT_SOURCE_DIR} /lib32/libiomp5md.dll )
50- else ()
51- target_link_libraries (decentTree ${PROJECT_SOURCE_DIR} /lib/libiomp5md.dll )
52- endif ()
53- endif ()
45+ target_link_libraries (decentTree ${PROJECT_SOURCE_DIR} /lib/libiomp5md.dll )
5446endif ()
You can’t perform that action at this time.
0 commit comments