Skip to content
Snippets Groups Projects
Commit 59cf0ee9 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] put headers in library definition

parent 28d10bbb
No related branches found
No related tags found
No related merge requests found
......@@ -76,8 +76,7 @@ ENDIF (NOT (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\"))
#include_directories(${Boost_INCLUDE_DIRS})
#link_directories(${Boost_LIBRARY_DIRS})
ADD_LIBRARY(${LIBRARY_NAME}
SHARED
SET(${PROJECT_NAME}_SOURCES
src/debug/debug.cpp
src/debug/real-time-logger.cpp
src/debug/logger.cpp
......@@ -154,6 +153,9 @@ SET(${PROJECT_NAME}_HEADERS
include/dynamic-graph/logger.h
)
ADD_LIBRARY(${LIBRARY_NAME}
SHARED ${${PROJECT_NAME}_SOURCES} ${${PROJECT_NAME}_HEADERS})
SET(PUBLIC_HEADER ${${PROJECT_NAME}_HEADERS})
INSTALL(TARGETS ${PROJECT_NAME}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment