diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c3b27235ce3997def14b2af1b75967490793b4b..e0f2c78dc80a0d8861e011f38226d17397526ee1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ include("FetchContent") include(ExternalProject) if(MSVC) - add_compile_options("SHELL:/FI xpdevplus.h") + add_compile_options("SHELL:/FI ${XPDevPlus_BINARY_DIR}/xpdevplus.h") else() add_compile_options("SHELL:-include xpdevplus.h") endif()