diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-02 23:10:11 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-02 23:10:11 -0400 |
commit | e55c6a4b46708233a6016a253156a8967442f3a8 (patch) | |
tree | b370cbbe1e40feaac8f824283bfcfe3d44e9506d /CMakeLists.txt | |
parent | 52be8468d29788e1952db0f89263a111fa15394a (diff) | |
download | lingo-ap-tracker-e55c6a4b46708233a6016a253156a8967442f3a8.tar.gz lingo-ap-tracker-e55c6a4b46708233a6016a253156a8967442f3a8.tar.bz2 lingo-ap-tracker-e55c6a4b46708233a6016a253156a8967442f3a8.zip |
Does this work
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 756c776..6d9a111 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -3,11 +3,9 @@ project (lingo_ap_tracker) | |||
3 | 3 | ||
4 | set(CMAKE_BUILD_TYPE Debug) | 4 | set(CMAKE_BUILD_TYPE Debug) |
5 | 5 | ||
6 | find_package(wxWidgets COMPONENTS core base) | 6 | find_package(wxWidgets CONFIG REQUIRED) |
7 | include(${wxWidgets_USE_FILE}) | 7 | find_package(OpenSSL REQUIRED) |
8 | 8 | find_package(yaml-cpp REQUIRED) | |
9 | find_package(OpenSSL) | ||
10 | find_package(yaml-cpp) | ||
11 | 9 | ||
12 | include_directories( | 10 | include_directories( |
13 | vendor/hkutil | 11 | vendor/hkutil |
@@ -18,8 +16,12 @@ include_directories( | |||
18 | vendor/websocketpp | 16 | vendor/websocketpp |
19 | vendor/wswrap/include | 17 | vendor/wswrap/include |
20 | ${yaml-cpp_INCLUDE_DIRS} | 18 | ${yaml-cpp_INCLUDE_DIRS} |
19 | ${OpenSSL_INCLUDE_DIRS} | ||
21 | ) | 20 | ) |
22 | 21 | ||
22 | find_path(SYSTEM_INCLUDE_DIR zlib.h) | ||
23 | include_directories(${SYSTEM_INCLUDE_DIR}) | ||
24 | |||
23 | link_directories(${openssl_LIBRARY_DIRS}) | 25 | link_directories(${openssl_LIBRARY_DIRS}) |
24 | 26 | ||
25 | add_executable(lingo_ap_tracker | 27 | add_executable(lingo_ap_tracker |
@@ -36,4 +38,4 @@ add_executable(lingo_ap_tracker | |||
36 | ) | 38 | ) |
37 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17) | 39 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD 17) |
38 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) | 40 | set_property(TARGET lingo_ap_tracker PROPERTY CXX_STANDARD_REQUIRED ON) |
39 | target_link_libraries(lingo_ap_tracker ${wxWidgets_LIBRARIES} ${yaml-cpp_LIBRARIES} ${openssl_LIBRARIES}) | 41 | target_link_libraries(lingo_ap_tracker PRIVATE OpenSSL::SSL OpenSSL::Crypto wx::core wx::base yaml-cpp) |