Added POLYSCOPE_DEFINED compile definition

This commit is contained in:
iasonmanolas 2021-12-03 12:11:09 +02:00
parent f140b52986
commit e1a1a0684f
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ file(MAKE_DIRECTORY ${EXTERNAL_DEPS_DIR})
if(${CMAKE_BUILD_TYPE} STREQUAL "Release")
set(USE_POLYSCOPE FALSE)
else()
add_compile_definitions(POLYSCOPE_DEFINED)
set(USE_POLYSCOPE TRUE)
endif()
set(MYSOURCES_STATIC_LINK FALSE)