mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 17:45:38 +00:00
17 lines
570 B
CMake
Executable file
17 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}>
|
|
)
|