Update ADD_DEPENDENCIES calls
Update for the static and dynamic options and add some more calls for PolyVoxUtil and the tests.
This commit is contained in:
@ -14,6 +14,12 @@ MACRO(CREATE_TEST headerfile sourcefile executablename)
|
||||
ELSE(WIN32)
|
||||
SET(LATEST_TEST ${CMAKE_CURRENT_BINARY_DIR}/${executablename})
|
||||
ENDIF(WIN32)
|
||||
if(BUILD_STATIC_LIBRARIES)
|
||||
ADD_DEPENDENCIES(${executablename} PolyVoxCoreStatic PolyVoxUtilStatic)
|
||||
endif()
|
||||
if(BUILD_DYNAMIC_LIBRARIES)
|
||||
ADD_DEPENDENCIES(${executablename} PolyVoxCoreDynamic PolyVoxUtilDynamic)
|
||||
endif()
|
||||
ENDMACRO(CREATE_TEST)
|
||||
|
||||
IF(NOT QT_QTTEST_FOUND)
|
||||
|
Reference in New Issue
Block a user