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-set.c
|
||||||
mxml-string.c)
|
mxml-string.c)
|
||||||
|
|
||||||
set(HEADERS mxml-private.h)
|
|
||||||
|
|
||||||
configure_file(config.h.in config.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})
|
add_library(${PROJECT_NAME} ${SOURCES} ${HEADERS})
|
||||||
target_include_directories(
|
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
${PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
|
||||||
$<INSTALL_INTERFACE:include>)
|
|
||||||
add_library(MSweet::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
|
add_library(MSweet::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
|
||||||
|
|
||||||
# install library
|
# install library
|
||||||
|
Loading…
Reference in New Issue
Block a user