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

We don't need to use SHELL: with /FI

parent ee6a8e91
No related branches found
No related tags found
No related merge requests found
...@@ -3,9 +3,10 @@ project (XPDevPlus CXX) ...@@ -3,9 +3,10 @@ project (XPDevPlus CXX)
include("FetchContent") include("FetchContent")
include(ExternalProject) include(ExternalProject)
enable_language(C)
if(MSVC) if(MSVC)
add_compile_options("SHELL:/FI ${XPDevPlus_BINARY_DIR}/xpdevplus.h") add_compile_options("/FI${XPDevPlus_BINARY_DIR}/xpdevplus.h")
else() else()
add_compile_options("SHELL:-include xpdevplus.h") add_compile_options("SHELL:-include xpdevplus.h")
endif() endif()
...@@ -52,7 +53,6 @@ FetchContent_Declare( ...@@ -52,7 +53,6 @@ FetchContent_Declare(
) )
FetchContent_MakeAvailable(XPDev) FetchContent_MakeAvailable(XPDev)
enable_language(C)
set(SOURCE set(SOURCE
$<TARGET_OBJECTS:ciolib> $<TARGET_OBJECTS:ciolib>
$<TARGET_OBJECTS:comio> $<TARGET_OBJECTS:comio>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment