Commit ca3fa727 authored by Matt Pharr's avatar Matt Pharr

Fix debug builds

(Workaround issue in ptex CMakeLists.txt file
https://github.com/wdas/ptex/issues/28).
parent 09fa96b4
......@@ -347,6 +347,10 @@ INCLUDE_DIRECTORIES (
###########################################################################
# ptex
# work around https://github.com/wdas/ptex/issues/28
STRING ( TOLOWER ${CMAKE_BUILD_TYPE} LOWER_BUILD_TYPE )
SET ( ENV{FLAVOR} ${LOWER_BUILD_TYPE} )
SET(CMAKE_MACOSX_RPATH 1)
IF ( WIN32 )
ADD_DEFINITIONS ( /D PTEX_STATIC)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment