From 18ddadc258965bdced3d8bc223ca36b57af213f7 Mon Sep 17 00:00:00 2001 From: Stephen Hurd <deuce@synchro.net> Date: Thu, 10 Feb 2022 18:12:03 -0500 Subject: [PATCH] Configure the file after configuring xpdev --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea8cf43..4190e68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,6 @@ include("FetchContent") include(ExternalProject) -configure_file(xpdevplus.h.in xpdevplus.h) add_compile_options(-include xpdevplus.h) FetchContent_Declare( @@ -59,6 +58,7 @@ set(SOURCE $<TARGET_OBJECTS:xpdev> ) +configure_file(xpdevplus.h.in xpdevplus.h) add_library(xpdevplus STATIC ${SOURCE}) target_link_libraries(xpdevplus ciolib comio encode hash uifc xpdev) target_include_directories(xpdevplus PUBLIC ${XPDevPlus_BINARY_DIR}) -- GitLab