- Commit
- 890a926dec02d8f024a4492248dbff4f84d37ff2
- Parent
- 80ed0e17f695be792a7948924c9e33b791e2fd41
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
CMakeLists.txt: quote variable to avoid warning.
My personal build of CMark ✏️
CMakeLists.txt: quote variable to avoid warning.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/CMakeLists.txt | 2 | 1 | 1 |
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt @@ -76,7 +76,7 @@ set(CMAKE_LINKER_PROFILE "${CMAKE_LINKER_FLAGS_RELEASE} -pg") if (${CMAKE_MAJOR_VERSION} GREATER 1 AND ${CMAKE_MINOR_VERSION} GREATER 8) set(CMAKE_C_VISIBILITY_PRESET hidden) set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) -elseif(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang") +elseif(${CMAKE_COMPILER_IS_GNUCC} OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden") endif ()