aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim B <d3x0r@users.noreply.github.com>2025-07-06 15:48:55 -0700
committerGitHub <noreply@github.com>2025-07-06 15:48:55 -0700
commit5c205f4be3eed1aa477c208392956a8935d49f2d (patch)
treea1d8ececae40de88b43d015a78a19a1b2c87acd6
parentf4d8b53546fd0ed0999a9717160b18b488988192 (diff)
downloadportable-5c205f4be3eed1aa477c208392956a8935d49f2d.tar.gz
portable-5c205f4be3eed1aa477c208392956a8935d49f2d.tar.bz2
portable-5c205f4be3eed1aa477c208392956a8935d49f2d.zip
Remove applying flag to C++ code
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4d46cda..3a035bb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -143,7 +143,7 @@ add_definitions(-D__END_HIDDEN_DECLS=)
143set(CMAKE_POSITION_INDEPENDENT_CODE true) 143set(CMAKE_POSITION_INDEPENDENT_CODE true)
144 144
145if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") 145if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
146 add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Wno-pointer-sign> $<$<COMPILE_LANGUAGE:C>:-Wno-pointer-sign>) 146 add_compile_options($<$<COMPILE_LANGUAGE:C>:-Wno-pointer-sign>)
147endif() 147endif()
148 148
149if(WIN32) 149if(WIN32)