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