From 3946eaa1b4b7694cd2b6a38a24e7e8fa428bd18a Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Sun, 4 Aug 2019 22:00:05 -0400 Subject: [PATCH] Fix include path list, for subdirectories The include paths need to be absolute, so that src/CMakeLists.txt doesn't interpret them relative to its current directory. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d4e658f0..24d3e19d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,9 +74,9 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/include/OpenShotVersion.h ############### Set up include paths ################# list(APPEND OPENSHOT_INCLUDE_DIRS - include - include/effects - include/Qt + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${CMAKE_CURRENT_SOURCE_DIR}/include/effects + ${CMAKE_CURRENT_SOURCE_DIR}/include/Qt ${CMAKE_CURRENT_BINARY_DIR}/include ) #### Enable C++11 (for std::shared_ptr support)