Skip to content
Permalink
Browse files
Updated CMake
  • Loading branch information
wlodarsb committed Mar 22, 2019
1 parent 50b4c63 commit e3959f1f3f164ddb8dbcd2302e293df944993ba0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
@@ -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)
@@ -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)

0 comments on commit e3959f1

Please sign in to comment.