Fix a few BUILD_→ENABLE_ changes that I missed

This commit is contained in:
Matt Williams
2012-07-17 20:26:00 +01:00
parent 5b2846f3de
commit b9087ec6bf
3 changed files with 6 additions and 6 deletions

View File

@ -14,10 +14,10 @@ MACRO(CREATE_TEST headerfile sourcefile executablename)
ELSE(WIN32)
SET(LATEST_TEST ${CMAKE_CURRENT_BINARY_DIR}/${executablename})
ENDIF(WIN32)
if(BUILD_STATIC_LIBRARIES)
if(ENABLE_STATIC_LIBRARIES)
ADD_DEPENDENCIES(${executablename} PolyVoxCoreStatic PolyVoxUtilStatic)
endif()
if(BUILD_DYNAMIC_LIBRARIES)
if(ENABLED_DYNAMIC_LIBRARIES)
ADD_DEPENDENCIES(${executablename} PolyVoxCoreDynamic PolyVoxUtilDynamic)
endif()
ENDMACRO(CREATE_TEST)