diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-04-25 13:09:25 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-04-25 13:09:25 -0700 |
commit | 97da7901e73caa65ff16a7271ecbff11d08ebd7b (patch) | |
tree | 2c2c126436a99bf5aaf11880fa27c5e13055898f /src/CMakeLists.txt | |
parent | 65e7ab9e1fd07c6df8fdd4dada320cbfef5a1258 (diff) |
Revert "CMakeLists.txt: quote variable to avoid warning."
This reverts commit 890a926dec02d8f024a4492248dbff4f84d37ff2.
Conflicts:
src/CMakeLists.txt
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6a1ab7e..594d76e 100644 --- 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 () |