mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 07:16:15 +00:00
Fixed: nelsound dependency to nelsound_lowlevel
This commit is contained in:
parent
d3b8b80f29
commit
5e42122af4
1 changed files with 6 additions and 11 deletions
|
@ -1,25 +1,20 @@
|
||||||
FILE(GLOB SRC *.cpp *.h)
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
# TODO: fixes a linking problem for libnelsound.dylib, but does not look like
|
NL_TARGET_LIB(nelsound ${SRC})
|
||||||
# the cleanest way to solve the issue. FIXME!
|
|
||||||
IF(APPLE)
|
|
||||||
SET(SRC ${SRC} driver/sound_driver.cpp driver/buffer.cpp)
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
nl_target_lib(nelsound ${SRC})
|
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||||
TARGET_LINK_LIBRARIES(nelsound ${LIBXML2_LIBRARIES} nelligo nelgeorges nel3d)
|
TARGET_LINK_LIBRARIES(nelsound ${LIBXML2_LIBRARIES} nelmisc nelligo nelgeorges nel3d nelsnd_lowlevel)
|
||||||
nl_default_props(nelsound "Library: NeL Sound")
|
NL_DEFAULT_PROPS(nelsound "Library: NeL Sound")
|
||||||
|
|
||||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||||
|
|
||||||
nl_add_lib_suffix(nelsound)
|
NL_ADD_LIB_SUFFIX(nelsound)
|
||||||
|
|
||||||
IF(WITH_PCH)
|
IF(WITH_PCH)
|
||||||
ADD_NATIVE_PRECOMPILED_HEADER(nelsound ${CMAKE_CURRENT_SOURCE_DIR}/stdsound.h ${CMAKE_CURRENT_SOURCE_DIR}/stdsound.cpp)
|
ADD_NATIVE_PRECOMPILED_HEADER(nelsound ${CMAKE_CURRENT_SOURCE_DIR}/stdsound.h ${CMAKE_CURRENT_SOURCE_DIR}/stdsound.cpp)
|
||||||
ENDIF(WITH_PCH)
|
ENDIF(WITH_PCH)
|
||||||
|
|
||||||
nl_gen_pc(nel-sound.pc)
|
NL_GEN_PC(nel-sound.pc)
|
||||||
INSTALL(TARGETS nelsound LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|
INSTALL(TARGETS nelsound LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|
||||||
|
|
||||||
ADD_SUBDIRECTORY(driver)
|
ADD_SUBDIRECTORY(driver)
|
||||||
|
|
Loading…
Reference in a new issue