diff options
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 8 | ||||
-rw-r--r-- | test/CMakeLists.txt | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 70d7a72..4bfa28f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,10 +4,10 @@ project(winapi_utf8 CXX) include(cmake/common.cmake) -file(GLOB_RECURSE winapi_utf8_hpp "include/*.hpp") -file(GLOB winapi_utf8_cpp "src/*.cpp") -add_library(winapi_utf8 ${winapi_utf8_hpp} ${winapi_utf8_cpp}) -target_include_directories(winapi_utf8 PUBLIC include/) +file(GLOB_RECURSE winapi_utf8_include "include/*.hpp") +file(GLOB winapi_utf8_src "src/*.cpp") +add_library(winapi_utf8 ${winapi_utf8_include} ${winapi_utf8_src}) +target_include_directories(winapi_utf8 PUBLIC include) add_subdirectory(3rdparty/microsoft/SafeInt EXCLUDE_FROM_ALL) target_link_libraries(winapi_utf8 PRIVATE SafeInt) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index bc58900..c410383 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,5 +1,5 @@ -file(GLOB unit_tests_cpp "*.cpp") -add_executable(unit_tests ${unit_tests_cpp}) +file(GLOB unit_tests_src "*.cpp") +add_executable(unit_tests ${unit_tests_src}) set_target_properties(unit_tests PROPERTIES OUTPUT_NAME winapi-utf8-unit-tests) target_link_libraries(unit_tests PRIVATE winapi_utf8) |