Finding GLEW work in release and debug.

Make building in release and debug in one cmake run on msvc with the prusaslicer_add_cmake_project function.
This commit is contained in:
tamasmeszaros 2019-12-11 12:24:21 +01:00
parent 784728bff8
commit 38aa5cb437
8 changed files with 399 additions and 53 deletions

View file

@ -4,4 +4,8 @@ prusaslicer_add_cmake_project(OpenCSG
GIT_TAG 83e274457b46c9ad11a4ee599203250b1618f3b9 #v1.4.2
PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt.in ./CMakeLists.txt
DEPENDS dep_GLEW
)
)
if (MSVC)
add_debug_dep(dep_OpenCSG)
endif ()