Skip to content

Commit

Permalink
cmake: empty string is not missing token
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed May 27, 2024
1 parent 7b5abf5 commit d882c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/DaemonFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ else()

# Use gcc-ar and gcc-ranlib instead of ar and ranlib so that we can use
# slim LTO objects. This requires a recent version of GCC and binutils.
if (${CMAKE_CXX_COMPILER_ID} STREQUAL GNU)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL GNU)
if (USE_SLIM_LTO)
string(REGEX MATCH "^([0-9]+.[0-9]+)" _version "${CMAKE_CXX_COMPILER_VERSION}")
get_filename_component(COMPILER_BASENAME "${CMAKE_C_COMPILER}" NAME)
Expand Down

0 comments on commit d882c9d

Please sign in to comment.