Integrate changes from cfcohen.

This commit is contained in:
Ignacio 2015-12-05 15:19:59 -08:00
parent 9d6c7d6a69
commit 308050923b

View File

@ -29,6 +29,11 @@ MESSAGE(STATUS "Setting optimal options")
MESSAGE(STATUS " Processor: ${NV_SYSTEM_PROCESSOR}") MESSAGE(STATUS " Processor: ${NV_SYSTEM_PROCESSOR}")
MESSAGE(STATUS " Compiler Flags: ${CMAKE_CXX_FLAGS}") MESSAGE(STATUS " Compiler Flags: ${CMAKE_CXX_FLAGS}")
IF(CMAKE_BUILD_TYPE MATCHES "debug")
SET(CMAKE_DEBUG_POSTFIX "_d" CACHE STRING "Postfix for debug build libraries.")
ENDIF()
IF(NVTT_SHARED) IF(NVTT_SHARED)
SET(NVCORE_SHARED TRUE) SET(NVCORE_SHARED TRUE)
SET(NVMATH_SHARED TRUE) SET(NVMATH_SHARED TRUE)