diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-18 00:35:18 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-18 00:35:18 +0300 |
commit | 82a407a0e3985b3ff3246d38b9ccc0b00cacb05b (patch) | |
tree | 6b2f051d96bbce1c03efc3ad128f788839ced33c /CMakeLists.txt | |
parent | Process: add methods to load resource strings (diff) | |
download | winapi-common-82a407a0e3985b3ff3246d38b9ccc0b00cacb05b.tar.gz winapi-common-82a407a0e3985b3ff3246d38b9ccc0b00cacb05b.zip |
cmake: files are per-directory, not per-extension
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0244ce4..c4a839b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,10 +4,10 @@ project(winapi_common CXX) include(cmake/common.cmake) -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/) +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}) +target_include_directories(winapi_common PUBLIC include) add_subdirectory(3rdparty/winapi/utf8 EXCLUDE_FROM_ALL) target_link_libraries(winapi_common PRIVATE winapi_utf8) |