mirror of
https://github.com/RPCSX/xbyak.git
synced 2024-11-26 21:00:21 +00:00
build(meson): fix CMake Config file include dir
I previously set the path to ${CMAKE_CURRENT_LIST_FILE}/include, that was wrong and ended up pointing to a nonexistent directory.
This commit is contained in:
parent
cecd204a50
commit
b29e471ea5
@ -3,6 +3,6 @@
|
||||
if(NOT TARGET @TARGET_NAME@)
|
||||
add_library(@TARGET_NAME@ INTERFACE IMPORTED)
|
||||
set_target_properties(@TARGET_NAME@ PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_LIST_FILE}/include"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "@ABSOLUTE_INCLUDE_DIR@"
|
||||
)
|
||||
endif()
|
||||
|
@ -35,6 +35,7 @@ if meson.version().version_compare('>=0.50.0')
|
||||
|
||||
cmake_conf = configuration_data()
|
||||
cmake_conf.set('TARGET_NAME', meson.project_name() + '::' + meson.project_name())
|
||||
cmake_conf.set('ABSOLUTE_INCLUDE_DIR', get_option('prefix')/get_option('includedir'))
|
||||
|
||||
cmake.configure_package_config_file(
|
||||
name: meson.project_name(),
|
||||
|
Loading…
Reference in New Issue
Block a user