Skip to content

Commit 3946eaa

Browse files
committed
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.
1 parent 90a5610 commit 3946eaa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/include/OpenShotVersion.h
7474

7575
############### Set up include paths #################
7676
list(APPEND OPENSHOT_INCLUDE_DIRS
77-
include
78-
include/effects
79-
include/Qt
77+
${CMAKE_CURRENT_SOURCE_DIR}/include
78+
${CMAKE_CURRENT_SOURCE_DIR}/include/effects
79+
${CMAKE_CURRENT_SOURCE_DIR}/include/Qt
8080
${CMAKE_CURRENT_BINARY_DIR}/include )
8181

8282
#### Enable C++11 (for std::shared_ptr support)

0 commit comments

Comments
 (0)