Skip to content
Snippets Groups Projects
Commit 18ddadc2 authored by Stephen Hurd's avatar Stephen Hurd
Browse files

Configure the file after configuring xpdev

parent 0a42b33a
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,6 @@ include("FetchContent") ...@@ -4,7 +4,6 @@ include("FetchContent")
include(ExternalProject) include(ExternalProject)
configure_file(xpdevplus.h.in xpdevplus.h)
add_compile_options(-include xpdevplus.h) add_compile_options(-include xpdevplus.h)
FetchContent_Declare( FetchContent_Declare(
...@@ -59,6 +58,7 @@ set(SOURCE ...@@ -59,6 +58,7 @@ set(SOURCE
$<TARGET_OBJECTS:xpdev> $<TARGET_OBJECTS:xpdev>
) )
configure_file(xpdevplus.h.in xpdevplus.h)
add_library(xpdevplus STATIC ${SOURCE}) add_library(xpdevplus STATIC ${SOURCE})
target_link_libraries(xpdevplus ciolib comio encode hash uifc xpdev) target_link_libraries(xpdevplus ciolib comio encode hash uifc xpdev)
target_include_directories(xpdevplus PUBLIC ${XPDevPlus_BINARY_DIR}) target_include_directories(xpdevplus PUBLIC ${XPDevPlus_BINARY_DIR})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment