Skip to content

Commit

Permalink
Update CMakeLists.txt to fix CMAKE_CURRENT_SOURCE_DIR
Browse files Browse the repository at this point in the history
Changes CMAKE_CURRENT_SOURCEDIR to CMAKE_CURRENT_SOURCE_DIR
  • Loading branch information
tlf30 authored Dec 31, 2023
1 parent 55c4f62 commit ae87792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ endif()

add_library(${ARGTABLE3_PROJECT_NAME}::argtable3 ALIAS argtable3)
target_include_directories(argtable3 PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCEDIR}>"
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
)

Expand Down

0 comments on commit ae87792

Please sign in to comment.