remove compiler defs - unnecessary if force-including anyway

This commit is contained in:
itsmattkc 2023-07-15 23:06:51 -07:00
parent cd9cdb445e
commit 1e22f395af
2 changed files with 0 additions and 6 deletions

View File

@ -179,7 +179,6 @@ 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")
@ -204,7 +203,6 @@ if (ISLE_BUILD_APP)
target_include_directories(isle PRIVATE "${CMAKE_SOURCE_DIR}/LEGO1")
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")

View File

@ -1,7 +1,3 @@
#ifdef USE_SMARTHEAP
#include <smrtheap.hpp>
#endif
#include "isleapp.h"
#include "define.h"