Skip to content

Commit 12f2113

Browse files
committed
Fix broken simplecpp builds with libc++
1 parent 5b70f39 commit 12f2113

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

externals/simplecpp/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ file(GLOB srcs "*.cpp")
33

44
add_library(simplecpp ${srcs} ${hdrs})
55
target_dll_compile_definitions(simplecpp EXPORT SIMPLECPP_EXPORT IMPORT SIMPLECPP_IMPORT)
6+
target_compile_definitions(simplecpp PUBLIC SIMPLECPP_TOKENLIST_ALLOW_PTR)
67

78
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
89
target_compile_options_safe(simplecpp -Wno-zero-as-null-pointer-constant)

0 commit comments

Comments
 (0)