cmake: force include smrtheap.hpp 2

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
This commit is contained in:
MattKC 2023-07-15 23:04:16 -07:00 committed by GitHub
parent 2e7ad4e4c2
commit cd9cdb445e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)