|
@@ -22,9 +22,12 @@ endmacro()
|
|
|
|
|
|
macro(nice_build_library)
|
|
macro(nice_build_library)
|
|
ADD_LIBRARY("nice_${the_library}" ${NICE_BUILD_LIBS_STATIC_SHARED} ${nice_${the_library}_HDR} ${nice_${the_library}_SRC})
|
|
ADD_LIBRARY("nice_${the_library}" ${NICE_BUILD_LIBS_STATIC_SHARED} ${nice_${the_library}_HDR} ${nice_${the_library}_SRC})
|
|
- TARGET_LINK_LIBRARIES("nice_${the_library}" ${nice_${the_library}_LINKING_DEPENDENCIES} ${Boost_LIBRARIES} ${OPENGL_LIBRARY} ${GLUT_LIBRARY} ${QT_LIBRARIES})
|
|
|
|
|
|
+ TARGET_LINK_LIBRARIES("nice_${the_library}" ${nice_${the_library}_LINKING_DEPENDENCIES})
|
|
|
|
+ #TARGET_LINK_LIBRARIES("nice_${the_library}" ${nice_${the_library}_LINKING_DEPENDENCIES} ${Boost_LIBRARIES} ${OPENGL_LIBRARY} ${GLUT_LIBRARY} ${QT_LIBRARIES})
|
|
SET_PROPERTY(TARGET "nice_${the_library}" PROPERTY FOLDER "library")
|
|
SET_PROPERTY(TARGET "nice_${the_library}" PROPERTY FOLDER "library")
|
|
INSTALL(TARGETS "nice_${the_library}" DESTINATION lib)
|
|
INSTALL(TARGETS "nice_${the_library}" DESTINATION lib)
|
|
|
|
+
|
|
|
|
+ configure_file( ../cmake/niceConfig.cmake.in "${PROJECT_BINARY_DIR}/lib/nice_${the_library}Config.cmake" )
|
|
endmacro()
|
|
endmacro()
|
|
|
|
|
|
|
|
|