Use the COMPILE_DEFINITIONS property instead of DEFINE_SYMBOL
This commit is contained in:
parent
18157bc331
commit
5c7680ec84
@ -797,7 +797,7 @@ CONFIGURE_FILE(
|
||||
|
||||
# Build a library
|
||||
ADD_LIBRARY(${LIBNAME} ${LIBTYPE} ${OPENAL_OBJS} ${ALC_OBJS})
|
||||
SET_PROPERTY(TARGET ${LIBNAME} APPEND PROPERTY DEFINE_SYMBOL AL_BUILD_LIBRARY AL_ALEXT_PROTOTYPES)
|
||||
SET_PROPERTY(TARGET ${LIBNAME} APPEND PROPERTY COMPILE_DEFINITIONS AL_BUILD_LIBRARY AL_ALEXT_PROTOTYPES)
|
||||
SET_PROPERTY(TARGET ${LIBNAME} APPEND PROPERTY INCLUDE_DIRECTORIES "${OpenAL_SOURCE_DIR}/OpenAL32/Include")
|
||||
SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES VERSION ${LIB_VERSION}
|
||||
SOVERSION ${LIB_MAJOR_VERSION})
|
||||
|
Loading…
Reference in New Issue
Block a user