mirror of
https://gitlab.com/es-de/emulationstation-de.git
synced 2025-04-02 10:51:45 -04:00
16 lines
570 B
CMake
Executable file
16 lines
570 B
CMake
Executable file
# Generate a standard header with export macros
|
|
include(GenerateExportHeader)
|
|
generate_export_header(lunasvg)
|
|
|
|
target_include_directories(lunasvg
|
|
# When building a project that uses the lunasvg library,
|
|
# we need to look in the installed include directory
|
|
PUBLIC
|
|
$<INSTALL_INTERFACE:include>
|
|
|
|
# When building the lunasvg library we need to look in the
|
|
# build dir for the lunasvg_export.h header and in the source
|
|
# dir for other headers
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
|
|
)
|