From cb49df156d080901735731efeb9277ed05bd9124 Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Sat, 27 May 2017 21:59:02 -0700 Subject: CMake: Use target properties to add inih include paths --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b746554fe..6376862ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -254,9 +254,7 @@ get_git_head_revision(GIT_REF_SPEC GIT_REV) git_describe(GIT_DESC --always --long --dirty) git_branch_name(GIT_BRANCH) -set(INI_PREFIX "${CMAKE_CURRENT_SOURCE_DIR}/externals/inih") -include_directories(${INI_PREFIX}) -add_subdirectory(${INI_PREFIX}) +add_subdirectory(externals/inih) add_subdirectory(externals) -- cgit v1.2.3