From e1b5fe8226faca994a6d2b6302c7f18cb78133e3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 17 Oct 2020 10:31:34 +0300 Subject: cmake: best practices --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d38a36..70d7a72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,9 +4,9 @@ project(winapi_utf8 CXX) include(cmake/common.cmake) -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}) +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/) add_subdirectory(3rdparty/microsoft/SafeInt EXCLUDE_FROM_ALL) -- cgit v1.2.3