mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-24 11:25:30 +00:00
Fix paths
This commit is contained in:
parent
e11139a18c
commit
bc02a80705
@ -19,14 +19,11 @@ set(SOURCES
|
||||
mxml-set.c
|
||||
mxml-string.c)
|
||||
|
||||
set(HEADERS mxml-private.h)
|
||||
|
||||
configure_file(config.h.in config.h)
|
||||
set(HEADERS mxml-private.h ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||
|
||||
add_library(${PROJECT_NAME} ${SOURCES} ${HEADERS})
|
||||
target_include_directories(
|
||||
${PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>)
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
add_library(MSweet::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
|
||||
|
||||
# install library
|
||||
|
Loading…
Reference in New Issue
Block a user