freebsd-ports/lang/io/files/patch-CMakeLists.txt
2017-09-14 12:41:16 +00:00

11 lines
381 B
Text

--- CMakeLists.txt.orig 2017-08-11 18:47:18 UTC
+++ CMakeLists.txt
@@ -35,7 +35,7 @@ endif()
project(IoLanguage)
# Default config when building with gcc variants
-IF(CMAKE_COMPILER_IS_GNUCC)
+IF(CMAKE_COMPILER_IS_GNUCC OR (CMAKE_C_COMPILER_ID MATCHES "Clang"))
SET(CMAKE_BUILD_TYPE_DebugFast)
SET(CMAKE_CXX_FLAGS_DEBUGFAST "-g -O0")
SET(CMAKE_C_FLAGS_DEBUGFAST "-g -O0")