Fix type in CMake variable.
It would be nice if CMake issued warnings in cases like this but it seems that it is currently unable to.
This commit is contained in:
@ -17,7 +17,7 @@ MACRO(CREATE_TEST headerfile sourcefile executablename)
|
||||
if(ENABLE_STATIC_LIBRARIES)
|
||||
ADD_DEPENDENCIES(${executablename} PolyVoxCoreStatic PolyVoxUtilStatic)
|
||||
endif()
|
||||
if(ENABLED_DYNAMIC_LIBRARIES)
|
||||
if(ENABLE_DYNAMIC_LIBRARIES)
|
||||
ADD_DEPENDENCIES(${executablename} PolyVoxCoreDynamic PolyVoxUtilDynamic)
|
||||
endif()
|
||||
ENDMACRO(CREATE_TEST)
|
||||
|
Reference in New Issue
Block a user