From: Fletcher T. Penney Date: Sat, 8 Sep 2018 03:16:39 +0000 (-0400) Subject: FIXED: Fix CMake config for MacPorts (fixes #146) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24c5f5f42b70f35fb37abb8864d66459816511f7;p=multimarkdown FIXED: Fix CMake config for MacPorts (fixes #146) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 55bb749..e890a9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,7 +46,7 @@ include_directories( ${PROJECT_SOURCE_DIR}/Sources/multimarkdown) include_directories( ${PROJECT_SOURCE_DIR}/test ) include_directories(${PROJECT_BINARY_DIR}) -if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") +if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") # using Clang # Default is 256 -- needed for localization hash function add_definitions("-fbracket-depth=264")