Fixed Linux NVTT build issue by restricting the addition of the new libs to just Windows
This commit is contained in:
parent
7d311915e7
commit
e84c93dfce
@ -178,7 +178,12 @@ FIND_LIBRARY(NVBC7_LIBRARY_DEBUG
|
|||||||
PATH_SUFFIXES lib64 lib lib/shared lib/static lib64/static
|
PATH_SUFFIXES lib64 lib lib/shared lib/static lib64/static
|
||||||
)
|
)
|
||||||
|
|
||||||
SET(LIBS_TO_SETUP "NVTT" "NVCORE" "NVMATH" "NVIMAGE" "NVTHREAD" "NVBC7" "NVBC6H" "NVSQUISH")
|
IF (WIN32)
|
||||||
|
SET(LIBS_TO_SETUP "NVTT" "NVCORE" "NVMATH" "NVIMAGE" "NVTHREAD" "NVBC7" "NVBC6H" "NVSQUISH")
|
||||||
|
ELSE()
|
||||||
|
SET(LIBS_TO_SETUP "NVTT" "NVCORE" "NVMATH" "NVIMAGE")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
|
||||||
FOREACH(LIB ${LIBS_TO_SETUP})
|
FOREACH(LIB ${LIBS_TO_SETUP})
|
||||||
IF(${LIB}_LIBRARY_DEBUG)
|
IF(${LIB}_LIBRARY_DEBUG)
|
||||||
|
Loading…
Reference in New Issue
Block a user