aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-17 10:38:49 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-17 10:38:49 +0300
commit8a41c0befa09e008a73de2d1f3fb62c9603f1b40 (patch)
tree33b0dd202d898f6c2be569f4f4a9787546da95ae
parentupdate cmake-common (diff)
downloadwinapi-common-8a41c0befa09e008a73de2d1f3fb62c9603f1b40.tar.gz
winapi-common-8a41c0befa09e008a73de2d1f3fb62c9603f1b40.zip
cmake: minor tweaks
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee72ccb..0244ce4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,9 +4,9 @@ project(winapi_common CXX)
include(cmake/common.cmake)
-file(GLOB_RECURSE winapi_common_include "include/*.hpp")
-file(GLOB winapi_common_src "src/*.cpp")
-add_library(winapi_common ${winapi_common_include} ${winapi_common_src})
+file(GLOB winapi_common_cpp "src/*.cpp")
+file(GLOB_RECURSE winapi_common_hpp "include/*.hpp")
+add_library(winapi_common ${winapi_common_cpp} ${winapi_common_hpp})
target_include_directories(winapi_common PUBLIC include/)
add_subdirectory(3rdparty/winapi/utf8 EXCLUDE_FROM_ALL)