Skip to content

Commit

Permalink
Merge pull request #87 from tlf30/fix-current-source-dir-var
Browse files Browse the repository at this point in the history
Update CMakeLists.txt to fix CMAKE_CURRENT_SOURCE_DIR
  • Loading branch information
tomghuang authored Jan 6, 2024
2 parents a30503d + ae87792 commit 89a16c8
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 89a16c8

Please sign in to comment.