mirror of
https://github.com/yuzu-emu/yuzu
synced 2024-11-24 14:48:40 +00:00
CMake: Use target properties to add inih include paths
This commit is contained in:
parent
776cb91785
commit
cb49df156d
2 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
1
externals/inih/CMakeLists.txt
vendored
1
externals/inih/CMakeLists.txt
vendored
|
@ -9,3 +9,4 @@ set(HEADERS
|
|||
|
||||
create_directory_groups(${SRCS} ${HEADERS})
|
||||
add_library(inih ${SRCS} ${HEADERS})
|
||||
target_include_directories(inih INTERFACE .)
|
||||
|
|
Loading…
Reference in a new issue