Skip to content

Commit af2b418

Browse files
authored
Merge pull request #22 from flightaware/BCK-5159_nix_header_location
Bck 5159 nix header location
2 parents 6a2b15f + 36302f6 commit af2b418

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
@@ -82,7 +82,7 @@ set_target_properties(cpptcl PROPERTIES
8282
target_include_directories(cpptcl
8383
PUBLIC
8484
$<BUILD_INTERFACE:${cpptcl_INCLUDE_DIR}>
85-
$<INSTALL_INTERFACE:include>
85+
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
8686
)
8787
target_include_directories(cpptcl PUBLIC ${TCL_INCLUDE_PATH})
8888
target_link_libraries(cpptcl ${TCL_STUB_LIBRARY})
@@ -97,7 +97,7 @@ set_target_properties(cpptcl_static PROPERTIES
9797
target_include_directories(cpptcl_static
9898
PUBLIC
9999
$<BUILD_INTERFACE:${cpptcl_INCLUDE_DIR}>
100-
$<INSTALL_INTERFACE:include>
100+
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
101101
)
102102
target_include_directories(cpptcl_static PUBLIC ${TCL_INCLUDE_PATH})
103103

@@ -111,7 +111,7 @@ set_target_properties(cpptcl_runtime PROPERTIES
111111
target_include_directories(cpptcl_runtime
112112
PUBLIC
113113
$<BUILD_INTERFACE:${cpptcl_INCLUDE_DIR}>
114-
$<INSTALL_INTERFACE:include>
114+
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
115115
)
116116
target_include_directories(cpptcl_runtime PUBLIC ${TCL_INCLUDE_PATH})
117117
target_link_libraries(cpptcl_runtime ${TCL_LIBRARY})

0 commit comments

Comments
 (0)