From 2e7ad4e4c259a3ab6346523eb1efcce3fe0b973f Mon Sep 17 00:00:00 2001 From: MattKC <34096995+itsmattkc@users.noreply.github.com> Date: Sat, 15 Jul 2023 23:03:53 -0700 Subject: [PATCH] cmake: force include smrtheap.hpp Co-authored-by: Anonymous Maarten --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e8de80f2..ff88f179 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -204,6 +204,7 @@ if (ISLE_BUILD_APP) if (ISLE_USE_SMARTHEAP) target_compile_definitions(isle PRIVATE USE_SMARTHEAP) + target_compile_options(isle PRIVATE "/FI${CMAKE_SOURCE_DIR}/3rdparty/smartheap/SMRTHEAP.HPP") target_include_directories(isle PRIVATE "${CMAKE_SOURCE_DIR}/3rdparty/smartheap") target_link_directories(isle PRIVATE "${CMAKE_SOURCE_DIR}/3rdparty/smartheap") target_link_libraries(isle PRIVATE SHLW32MT)