From 740bd6bc49e2e043fbe6dee2ab8267cb0fd28d21 Mon Sep 17 00:00:00 2001 From: durswd Date: Mon, 23 Oct 2023 23:25:00 +0900 Subject: [PATCH] fix --- Dev/Cpp/Effekseer/CMakeLists.txt | 3 ++- Dev/Cpp/EffekseerRendererDX11/CMakeLists.txt | 5 ++++- Script/Test_Install/src/main.cpp | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Dev/Cpp/Effekseer/CMakeLists.txt b/Dev/Cpp/Effekseer/CMakeLists.txt index 906a925f69..dd1011b683 100644 --- a/Dev/Cpp/Effekseer/CMakeLists.txt +++ b/Dev/Cpp/Effekseer/CMakeLists.txt @@ -200,7 +200,8 @@ foreach (file ${effekseer_public_h}) install(FILES ${file} DESTINATION include/Effekseer/${dir}) endforeach() -target_include_directories(${PROJECT_NAME} INTERFACE +target_include_directories(${PROJECT_NAME} PUBLIC + $ $) install( diff --git a/Dev/Cpp/EffekseerRendererDX11/CMakeLists.txt b/Dev/Cpp/EffekseerRendererDX11/CMakeLists.txt index ab06282126..6086de8ada 100644 --- a/Dev/Cpp/EffekseerRendererDX11/CMakeLists.txt +++ b/Dev/Cpp/EffekseerRendererDX11/CMakeLists.txt @@ -31,6 +31,10 @@ target_include_directories(${PROJECT_NAME} PRIVATE ${PROJECT_SOURCE_DIR}/../Effe set_target_properties(${PROJECT_NAME} PROPERTIES PUBLIC_HEADER "${PublicHeaders}") target_link_libraries(${PROJECT_NAME} PUBLIC Effekseer EffekseerRendererCommon) +target_include_directories(${PROJECT_NAME} PUBLIC + $ + $) + if(CLANG_FORMAT_ENABLED) clang_format(${PROJECT_NAME}) endif() @@ -48,7 +52,6 @@ endforeach() install( TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}-export - INCLUDES DESTINATION include ARCHIVE DESTINATION lib LIBRARY DESTINATION lib) diff --git a/Script/Test_Install/src/main.cpp b/Script/Test_Install/src/main.cpp index 9ab41c5a19..26fb1ada79 100644 --- a/Script/Test_Install/src/main.cpp +++ b/Script/Test_Install/src/main.cpp @@ -1,7 +1,7 @@ #include #ifdef _WIN32 -#include +#include #endif int main()