File tree 6 files changed +10
-10
lines changed
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ if (PFUNIT)
42
42
add_subdirectory (tests)
43
43
endif ()
44
44
45
- configure_file (GFTL-config- version .cmake.in ${CMAKE_CURRENT_BINARY_DIR} /GFTL-config- version .cmake @ONLY)
46
- configure_file (GFTL-config .cmake.in ${CMAKE_CURRENT_BINARY_DIR} /GFTL-config .cmake @ONLY)
45
+ configure_file (GFTLConfig .cmake.in ${CMAKE_CURRENT_BINARY_DIR} /GFTLConfig .cmake @ONLY)
46
+ configure_file (GFTLConfig- version .cmake.in ${CMAKE_CURRENT_BINARY_DIR} /GFTLConfig- version .cmake @ONLY)
47
47
install (
48
- FILES ${CMAKE_CURRENT_BINARY_DIR} /GFTL-config .cmake ${CMAKE_CURRENT_BINARY_DIR} /GFTL-config -version .cmake
48
+ FILES ${CMAKE_CURRENT_BINARY_DIR} /GFTLConfig .cmake ${CMAKE_CURRENT_BINARY_DIR} /GFTLConfig -version .cmake
49
49
DESTINATION "GFTL-${GFTL_VERSION_MAJOR} .${GFTL_VERSION_MINOR} /cmake"
50
50
)
File renamed without changes.
Original file line number Diff line number Diff line change 2
2
3
3
get_filename_component (SELF_DIR "${CMAKE_CURRENT_LIST_FILE} " PATH )
4
4
set (PREFIX ${SELF_DIR} /../..)
5
- include ("${PREFIX} /GFTL-@GFTL_VERSION_MAJOR@.@GFTL_VERSION_MINOR@/include /GFTL.cmake" )
5
+ include ("${PREFIX} /GFTL-@GFTL_VERSION_MAJOR@.@GFTL_VERSION_MINOR@/cmake /GFTL.cmake" )
Original file line number Diff line number Diff line change 1
1
add_library (gftl INTERFACE )
2
- set (include_dest "GFTL-${GFTL_VERSION_MAJOR} .${GFTL_VERSION_MINOR} /include " )
2
+ set (dest "GFTL-${GFTL_VERSION_MAJOR} .${GFTL_VERSION_MINOR} " )
3
3
target_include_directories (gftl INTERFACE
4
4
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR} > # for headers when building
5
- $<INSTALL_INTERFACE:${include_dest} > # for client in install mode
5
+ $<INSTALL_INTERFACE:${dest} / include > # for client in install mode
6
6
)
7
7
8
8
add_subdirectory (templates)
@@ -19,7 +19,7 @@ add_custom_command(
19
19
add_custom_target (force-generation-of-includes ALL )
20
20
add_dependencies (force-generation-of-includes gftl)
21
21
22
- install (TARGETS gftl EXPORT GFTL DESTINATION "${include_dest} " )
23
- install (EXPORT GFTL DESTINATION "${include_dest} " )
22
+ install (TARGETS gftl EXPORT GFTL DESTINATION "${dest} /include " )
23
+ install (EXPORT GFTL DESTINATION "${dest} /cmake " )
24
24
25
25
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ set_source_files_properties (${generated_incs} PROPERTIES GENERATED TRUE)
47
47
48
48
file (COPY DIRECTORY . DESTINATION . FILES_MATCHING PATTERN "*.inc" )
49
49
50
- install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} / DESTINATION "${include_dest} /templates"
50
+ install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} / DESTINATION "${dest} /include /templates"
51
51
FILES_MATCHING PATTERN "*.inc"
52
52
PATTERN CMakeFiles EXCLUDE
53
53
)
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ add_dependencies (gftl generate-type-incs)
63
63
64
64
set_source_files_properties (${generated_incs} PROPERTIES GENERATED TRUE )
65
65
66
- install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} / DESTINATION "${include_dest} /types"
66
+ install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} / DESTINATION "${dest} /include /types"
67
67
FILES_MATCHING PATTERN "*.inc"
68
68
PATTERN CMakeFiles EXCLUDE
69
69
)
You can’t perform that action at this time.
0 commit comments