summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnonymous Maarten <anonymous.maarten@gmail.com>2021-01-03 19:08:59 +0100
committershfil <filip.gawin@zoho.com>2021-01-11 11:24:25 +0100
commit96e2ba19f8d26e029540fc6071f389cf6c02a72d (patch)
tree32828af91fcb89bd2cfbd07066e8d5bb672052a8
parentconan: allow repeated executions of `conan build` (diff)
downloadre3-96e2ba19f8d26e029540fc6071f389cf6c02a72d.tar
re3-96e2ba19f8d26e029540fc6071f389cf6c02a72d.tar.gz
re3-96e2ba19f8d26e029540fc6071f389cf6c02a72d.tar.bz2
re3-96e2ba19f8d26e029540fc6071f389cf6c02a72d.tar.lz
re3-96e2ba19f8d26e029540fc6071f389cf6c02a72d.tar.xz
re3-96e2ba19f8d26e029540fc6071f389cf6c02a72d.tar.zst
re3-96e2ba19f8d26e029540fc6071f389cf6c02a72d.zip
-rw-r--r--src/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0460a353..2710b5a5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,7 +1,7 @@
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
-file(GLOB_RECURSE RE3_SOURCES "*.cpp" "*.h")
+file(GLOB_RECURSE RE3_SOURCES "*.cpp" "*.h" "*.rc")
function(header_directories RETURN_LIST)
file(GLOB_RECURSE ALL_SRCS *.h *.cpp *.c)
@@ -17,7 +17,10 @@ endfunction()
header_directories(RE3_INCLUDES)
-add_executable(re3 WIN32 ${RE3_SOURCES})
+add_executable(re3 WIN32
+ ${RE3_SOURCES}
+)
+
target_link_libraries(re3 PRIVATE
librw::librw
Threads::Threads