Skip to content

Commit

Permalink
If CDT is included as a cmake subdirectory, the location of cdt_expor…
Browse files Browse the repository at this point in the history
…t.h is the current binary dir.
  • Loading branch information
egladil86 authored and artem-ogre committed Mar 21, 2022
1 parent a50f4ce commit 0ddf2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CDT/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ install(

install(
FILES
$<$<BOOL:${CDT_USE_AS_COMPILED_LIBRARY}>:${CMAKE_BINARY_DIR}/cdt_export.h>
$<$<BOOL:${CDT_USE_AS_COMPILED_LIBRARY}>:${CMAKE_CURRENT_BINARY_DIR}/cdt_export.h>
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)

Expand Down

0 comments on commit 0ddf2d6

Please sign in to comment.