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:
@ -37,6 +37,7 @@ IF(BUILD_STATIC_LIBRARIES)
|
||||
IF(MSVC)
|
||||
SET_TARGET_PROPERTIES(PolyVoxUtilStatic PROPERTIES COMPILE_FLAGS "/wd4251") #Disable warning on STL exports
|
||||
ENDIF(MSVC)
|
||||
ADD_DEPENDENCIES(PolyVoxUtilStatic PolyVoxCoreStatic)
|
||||
ENDIF()
|
||||
IF(BUILD_DYNAMIC_LIBRARIES)
|
||||
ADD_LIBRARY(PolyVoxUtilDynamic SHARED ${UTIL_SRC_FILES} ${UTIL_INC_FILES})
|
||||
@ -47,6 +48,7 @@ IF(BUILD_DYNAMIC_LIBRARIES)
|
||||
IF(MSVC)
|
||||
SET_TARGET_PROPERTIES(PolyVoxUtilDynamic PROPERTIES COMPILE_FLAGS "/wd4251") #Disable warning on STL exports
|
||||
ENDIF(MSVC)
|
||||
ADD_DEPENDENCIES(PolyVoxUtilDynamic PolyVoxCoreDynamic)
|
||||
ENDIF()
|
||||
|
||||
#Install
|
||||
|
Reference in New Issue
Block a user