From 8a41c0befa09e008a73de2d1f3fb62c9603f1b40 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 17 Oct 2020 10:38:49 +0300 Subject: cmake: minor tweaks --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3