fix install interface

This commit is contained in:
Roman Sztergbaum 2018-06-23 10:43:51 +02:00 committed by ThePhD
parent 4131de60d9
commit c5079f8815

View File

@ -141,7 +141,7 @@ CMAKE_DEPENDENT_OPTION(TESTS_DYNAMIC_LOADING_EXAMPLES "Enable build of dynamic l
add_library(sol2 INTERFACE)
target_include_directories(sol2 INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include/sol>)
$<INSTALL_INTERFACE:include>)
# # Version configurations
configure_package_config_file(