File tree 4 files changed +10
-6
lines changed
4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ if (Qt6_FOUND)
92
92
PUBLIC Qt6::Gui
93
93
)
94
94
endif ()
95
- target_include_directories (RmEss6 PUBLIC ${CMAKE_BINARY_DIR} /dist /include )
95
+ target_include_directories (RmEss6 PUBLIC ${CMAKE_BINARY_DIR} /build /include )
96
96
rmessentials_win32_rc(RmEss6 false "" )
97
97
98
98
install (TARGETS RmEss6
@@ -160,7 +160,7 @@ if (Qt5_FOUND)
160
160
PUBLIC Qt5::Gui
161
161
)
162
162
endif ()
163
- target_include_directories (RmEss5 PUBLIC ${CMAKE_BINARY_DIR} /dist /include )
163
+ target_include_directories (RmEss5 PUBLIC ${CMAKE_BINARY_DIR} /build /include )
164
164
rmessentials_win32_rc(RmEss5 false "" )
165
165
166
166
install (TARGETS RmEss5
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ if (Qt6_FOUND)
68
68
PUBLIC Qt6::Core
69
69
PUBLIC Qt6::Core5Compat
70
70
)
71
- target_include_directories (quazip6 INTERFACE ${CMAKE_BINARY_DIR} /dist /include )
71
+ target_include_directories (quazip6 INTERFACE ${CMAKE_BINARY_DIR} /build /include )
72
72
73
73
if (RMESSENTIALS_USE_QUAZIP)
74
74
install (TARGETS quazip6
@@ -108,7 +108,7 @@ if (Qt5_FOUND)
108
108
target_link_libraries (quazip5
109
109
PUBLIC Qt5::Core
110
110
)
111
- target_include_directories (quazip5 INTERFACE ${CMAKE_BINARY_DIR} /dist /include )
111
+ target_include_directories (quazip5 INTERFACE ${CMAKE_BINARY_DIR} /build /include )
112
112
113
113
if (RMESSENTIALS_USE_QUAZIP)
114
114
install (TARGETS quazip5
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ if (NOT BUILD_SHARED_LIBS)
18
18
target_compile_definitions (xxtea INTERFACE RMESSENTIALS_BUILD_STATIC_XXTEA)
19
19
endif ()
20
20
21
- target_include_directories (xxtea INTERFACE ${CMAKE_BINARY_DIR} /dist /include )
21
+ target_include_directories (xxtea INTERFACE ${CMAKE_BINARY_DIR} /build /include )
22
22
23
23
install (TARGETS xxtea
24
24
RUNTIME
Original file line number Diff line number Diff line change @@ -50,14 +50,18 @@ if (DEFINED PROJECT_NAME)
50
50
list (PREPEND header_generated_file_names "${header_file_name} " )
51
51
set (header_generated_paths)
52
52
foreach (header_generated_file_name IN LISTS header_generated_file_names)
53
- list (APPEND header_generated_paths "${CMAKE_BINARY_DIR} /dist /include/${target} /${header_generated_file_name} " )
53
+ list (APPEND header_generated_paths "${CMAKE_BINARY_DIR} /build /include/${target} /${header_generated_file_name} " )
54
54
endforeach ()
55
55
add_custom_command (OUTPUT ${header_generated_paths}
56
56
COMMAND "${CMAKE_COMMAND} " -P "${RMESSENTIALS_AUTO_GENERATE_HEADER_CMAKE_FILE} " "${header_path_absolute} " ${header_generated_paths}
57
57
MAIN_DEPENDENCY "${header_file} "
58
58
COMMENT "Generating header files \" ${header_file} \" ..."
59
59
)
60
60
target_sources ("${target} " PRIVATE ${header_generated_paths} )
61
+ install (FILES ${header_generated_paths}
62
+ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR} /${target} "
63
+ OPTIONAL
64
+ )
61
65
endforeach ()
62
66
endfunction ()
63
67
else ()
You can’t perform that action at this time.
0 commit comments