From e3959f1f3f164ddb8dbcd2302e293df944993ba0 Mon Sep 17 00:00:00 2001 From: Bartek Wlodarski Date: Fri, 22 Mar 2019 10:49:40 +0000 Subject: [PATCH] Updated CMake --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 16965a2..7ec574b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ add_compile_options(-lncursesw) add_compile_options(-lsqlite3) find_library(sqlite3 NAMES sqlite3 PATHS ${/usr/lib/x86_64-linux-gnu}) add_executable(main main.cpp) -target_link_libraries(main menu game window hero ability effect player bar sqlite3 ${CURSES_LIBRARIES}) +target_link_libraries(main menu selection game window hero ability effect player bar sqlite3 ${CURSES_LIBRARIES}) #add_executable(hero ${CMAKE_SOURCE_DIR}/src/Hero.cpp) #target_link_libraries(hero ability effect sqlite3) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7b82135..a361888 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,3 +6,4 @@ add_library(effect Effect.cpp) add_library(player Player.cpp) add_library(hero Hero.cpp) add_library(bar MakeBar.cpp) +add_library(selection Selection.cpp)