Disabling polyscope only in release mode
This commit is contained in:
parent
533a0e1a65
commit
4c0c5307b9
|
|
@ -17,7 +17,11 @@ set(EXTERNAL_DEPS_DIR "/home/iason/Coding/build/external dependencies")
|
||||||
file(MAKE_DIRECTORY ${EXTERNAL_DEPS_DIR})
|
file(MAKE_DIRECTORY ${EXTERNAL_DEPS_DIR})
|
||||||
|
|
||||||
##Polyscope
|
##Polyscope
|
||||||
|
if(${CMAKE_BUILD_TYPE} STREQUAL "Release")
|
||||||
|
set(USE_POLYSCOPE FALSE)
|
||||||
|
else()
|
||||||
set(USE_POLYSCOPE TRUE)
|
set(USE_POLYSCOPE TRUE)
|
||||||
|
endif()
|
||||||
if(${USE_POLYSCOPE})
|
if(${USE_POLYSCOPE})
|
||||||
download_project(PROJ POLYSCOPE
|
download_project(PROJ POLYSCOPE
|
||||||
GIT_REPOSITORY https://github.com/nmwsharp/polyscope.git
|
GIT_REPOSITORY https://github.com/nmwsharp/polyscope.git
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue