From 3dea23f0dedd3be04e402daf6f2b6aad65b38e3d Mon Sep 17 00:00:00 2001 From: kamiccolo Date: Wed, 19 Jul 2023 23:15:24 +0300 Subject: [PATCH] app/CMakeLists: rely on PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR for i18n includes --- app/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 0d4768cd..c98b5482 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -6,7 +6,7 @@ add_executable( exiv2 app_utils.cpp app_utils.hpp ) -target_include_directories(exiv2 PRIVATE ${CMAKE_SOURCE_DIR}/src) # To find i18n.hpp +target_include_directories(exiv2 PRIVATE ${PROJECT_SOURCE_DIR}/src) # To find i18n.hpp set_target_properties( exiv2 PROPERTIES COMPILE_FLAGS ${EXTRA_COMPILE_FLAGS}