add include directory (for gui)
This commit is contained in:
parent
5ca2265fb9
commit
90cd0c4b54
1 changed files with 2 additions and 6 deletions
|
@ -3,11 +3,6 @@
|
||||||
find_package(Boost 1.62 COMPONENTS date_time REQUIRED)
|
find_package(Boost 1.62 COMPONENTS date_time REQUIRED)
|
||||||
find_package(SQLite3 REQUIRED)
|
find_package(SQLite3 REQUIRED)
|
||||||
|
|
||||||
#set(CORE_HEADERS
|
|
||||||
# entity.h
|
|
||||||
# database.h
|
|
||||||
#)
|
|
||||||
|
|
||||||
set(CORE_SOURCES
|
set(CORE_SOURCES
|
||||||
database.cpp
|
database.cpp
|
||||||
entity.cpp
|
entity.cpp
|
||||||
|
@ -19,4 +14,5 @@ set(CORE_SOURCES
|
||||||
|
|
||||||
add_library(core STATIC ${CORE_SOURCES})
|
add_library(core STATIC ${CORE_SOURCES})
|
||||||
target_link_libraries(core Boost::boost Boost::date_time)
|
target_link_libraries(core Boost::boost Boost::date_time)
|
||||||
target_link_libraries(core sqlite3)
|
target_link_libraries(core sqlite3)
|
||||||
|
target_include_directories(core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
Loading…
Reference in a new issue