diff --git a/CMakeLists.txt b/CMakeLists.txt index 91d31197..0a92f8fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -254,7 +254,7 @@ add_subdirectory(${GEODE_BINDINGS_REPO_PATH} ${CMAKE_BINARY_DIR}/bindings) if (NOT GEODE_DISABLE_PRECOMPILED_HEADERS) target_precompile_headers(GeodeBindings INTERFACE - "${GEODE_LOADER_PATH}/include/Geode/Bindings.hpp" + "$<$:${GEODE_LOADER_PATH}/include/Geode/Bindings.hpp>" ) endif() @@ -292,8 +292,8 @@ elseif (EXISTS ${GEODE_PLATFORM_BIN_PATH}) target_link_libraries(${PROJECT_NAME} INTERFACE "${GEODE_PLATFORM_BIN_PATH}") if (NOT GEODE_DISABLE_PRECOMPILED_HEADERS) target_precompile_headers(${PROJECT_NAME} INTERFACE - "${GEODE_LOADER_PATH}/include/Geode/DefaultInclude.hpp" - "${GEODE_LOADER_PATH}/include/Geode/Geode.hpp" + "$<$:${GEODE_LOADER_PATH}/include/Geode/DefaultInclude.hpp>" + "$<$:${GEODE_LOADER_PATH}/include/Geode/Geode.hpp>" # please stop adding modify here its not here because it makes windows compilation take longer than geode 1.0 release date ) endif()