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

You need the -I for the -include

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