diff --git a/externals/simplecpp/CMakeLists.txt b/externals/simplecpp/CMakeLists.txt index 50f139739a7..744ab50c268 100644 --- a/externals/simplecpp/CMakeLists.txt +++ b/externals/simplecpp/CMakeLists.txt @@ -3,6 +3,7 @@ file(GLOB srcs "*.cpp") add_library(simplecpp ${srcs} ${hdrs}) target_dll_compile_definitions(simplecpp EXPORT SIMPLECPP_EXPORT IMPORT SIMPLECPP_IMPORT) +target_compile_definitions(simplecpp PUBLIC SIMPLECPP_TOKENLIST_ALLOW_PTR) if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") target_compile_options_safe(simplecpp -Wno-zero-as-null-pointer-constant)