mirror of
https://github.com/lifegpc/c-utils.git
synced 2026-06-06 05:08:45 +08:00
Fix bug
This commit is contained in:
@@ -63,7 +63,7 @@ if (HAVE_STRERROR_R)
|
||||
endif()
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/utils_config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/utils_config.h")
|
||||
|
||||
if (${CMAKE_C_COMPILER_ID} STREQUAL GNU)
|
||||
if ("${CMAKE_C_COMPILER_ID}" STREQUAL GNU)
|
||||
add_compile_options(-fPIC)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user