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:
Matt Williams 2012-07-18 20:36:07 +01:00
parent b9087ec6bf
commit 4916b5952b

View File

@ -17,7 +17,7 @@ MACRO(CREATE_TEST headerfile sourcefile executablename)
if(ENABLE_STATIC_LIBRARIES) if(ENABLE_STATIC_LIBRARIES)
ADD_DEPENDENCIES(${executablename} PolyVoxCoreStatic PolyVoxUtilStatic) ADD_DEPENDENCIES(${executablename} PolyVoxCoreStatic PolyVoxUtilStatic)
endif() endif()
if(ENABLED_DYNAMIC_LIBRARIES) if(ENABLE_DYNAMIC_LIBRARIES)
ADD_DEPENDENCIES(${executablename} PolyVoxCoreDynamic PolyVoxUtilDynamic) ADD_DEPENDENCIES(${executablename} PolyVoxCoreDynamic PolyVoxUtilDynamic)
endif() endif()
ENDMACRO(CREATE_TEST) ENDMACRO(CREATE_TEST)