Skip to content

Commit 13c3d12

Browse files
committed
Include path fix for FetchContent case
1 parent 7ad49f8 commit 13c3d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ option(GD_BUILD_EXAMPLE "Build example" OFF)
88
########## Build instructions ##############################
99
add_library(gifdec gifdec.c)
1010
target_include_directories(gifdec PUBLIC
11-
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}>
11+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
1212
$<INSTALL_INTERFACE:include>)
1313

1414
if(GD_BUILD_EXAMPLE)

0 commit comments

Comments
 (0)