CMake: Create INTERFACE targets for microprofile and nihstro

This commit is contained in:
Yuri Kunde Schlesner 2017-05-27 22:34:52 -07:00
parent 49ef9a6270
commit 1f22f0939c
4 changed files with 9 additions and 5 deletions

View file

@ -263,8 +263,12 @@ set(DYNARMIC_NO_BUNDLED_FMT ON)
add_subdirectory(externals/dynarmic)
add_subdirectory(externals/glad)
include_directories(externals/microprofile)
include_directories(externals/nihstro/include)
add_library(microprofile INTERFACE)
target_include_directories(microprofile INTERFACE externals/microprofile)
add_library(nihstro-headers INTERFACE)
target_include_directories(nihstro-headers INTERFACE externals/nihstro/include)
if (MSVC)
add_subdirectory(externals/getopt)