|
|
@ -72,5 +72,11 @@ add_library(components STATIC ${COMPONENT_FILES})
|
|
|
|
|
|
|
|
|
|
|
|
target_link_libraries(components ${Boost_LIBRARIES} ${OGRE_LIBRARIES})
|
|
|
|
target_link_libraries(components ${Boost_LIBRARIES} ${OGRE_LIBRARIES})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Fix for not visible pthreads functions for linker with glibc 2.15
|
|
|
|
|
|
|
|
if (UNIX AND NOT APPLE)
|
|
|
|
|
|
|
|
target_link_libraries(components ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Make the variable accessible for other subdirectories
|
|
|
|
# Make the variable accessible for other subdirectories
|
|
|
|
set(COMPONENT_FILES ${COMPONENT_FILES} PARENT_SCOPE)
|
|
|
|
set(COMPONENT_FILES ${COMPONENT_FILES} PARENT_SCOPE)
|
|
|
|