fix install interface

This commit is contained in:
Roman Sztergbaum 2018-06-23 10:43:51 +02:00
parent c53fa6d2b5
commit d72b243c71

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(