add include directory (for gui)

This commit is contained in:
Martin Brodbeck 2018-07-14 15:53:01 +02:00
parent 5ca2265fb9
commit 90cd0c4b54

View file

@ -3,11 +3,6 @@
find_package(Boost 1.62 COMPONENTS date_time REQUIRED)
find_package(SQLite3 REQUIRED)
#set(CORE_HEADERS
# entity.h
# database.h
#)
set(CORE_SOURCES
database.cpp
entity.cpp
@ -20,3 +15,4 @@ set(CORE_SOURCES
add_library(core STATIC ${CORE_SOURCES})
target_link_libraries(core Boost::boost Boost::date_time)
target_link_libraries(core sqlite3)
target_include_directories(core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})