diff options
Diffstat (limited to 'client/CMakeLists.txt')
-rw-r--r-- | client/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 186e3fe..859f707 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt | |||
@@ -2,13 +2,12 @@ project(toynadi_client) | |||
2 | 2 | ||
3 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | 3 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) |
4 | 4 | ||
5 | set(common_path "../common/") | ||
6 | |||
7 | set(toynadiclient_SRCS | 5 | set(toynadiclient_SRCS |
8 | ${common_path}/console.cpp | ||
9 | main.cpp | 6 | main.cpp |
10 | resourceaccess.cpp | 7 | resourceaccess.cpp |
11 | ) | 8 | ) |
9 | |||
12 | add_executable(${PROJECT_NAME} ${toynadiclient_SRCS}) | 10 | add_executable(${PROJECT_NAME} ${toynadiclient_SRCS}) |
11 | target_link_libraries(${PROJECT_NAME} toynadicommon) | ||
13 | qt5_use_modules(${PROJECT_NAME} Widgets Network) | 12 | qt5_use_modules(${PROJECT_NAME} Widgets Network) |
14 | install(TARGETS ${PROJECT_NAME} DESTINATION bin) | 13 | install(TARGETS ${PROJECT_NAME} DESTINATION bin) |