mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
fix up install. Thanks @NaoPross !
This commit is contained in:
parent
dd95030b9e
commit
da789b067c
|
@ -113,7 +113,7 @@ set_target_properties(sol2
|
||||||
|
|
||||||
target_include_directories(sol2 INTERFACE
|
target_include_directories(sol2 INTERFACE
|
||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||||
$<INSTALL_INTERFACE:sol/include>)
|
$<INSTALL_INTERFACE:include>)
|
||||||
|
|
||||||
# # Version configurations
|
# # Version configurations
|
||||||
configure_package_config_file(
|
configure_package_config_file(
|
||||||
|
@ -136,7 +136,7 @@ install(EXPORT sol2
|
||||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/sol2")
|
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/sol2")
|
||||||
|
|
||||||
install(DIRECTORY include/
|
install(DIRECTORY include/
|
||||||
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sol/include")
|
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sol")
|
||||||
|
|
||||||
install(FILES
|
install(FILES
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/cmake/sol2-config.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/cmake/sol2-config.cmake"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user