CMake: Use same message for symlink check and result

This commit is contained in:
Ahmad Fatoum
2018-05-10 23:06:24 +02:00
parent b8ca51fd01
commit f11fe80180

View File

@@ -33,7 +33,7 @@ add_if_flag_works(-Werror=implicit-function-declaration CMAKE_C_FLAGS)
# src/external/jar_xm.h does shady stuff # src/external/jar_xm.h does shady stuff
add_if_flag_works(-fno-strict-aliasing CMAKE_C_FLAGS) add_if_flag_works(-fno-strict-aliasing CMAKE_C_FLAGS)
message(STATUS "Check for symlink support in file system") message(STATUS "Testing if file system supports symlinks")
execute_process( execute_process(
COMMAND ${CMAKE_COMMAND} -E create_symlink CMakeLists.txt "${CMAKE_CURRENT_BINARY_DIR}/TestingIfSymlinkWorks" COMMAND ${CMAKE_COMMAND} -E create_symlink CMakeLists.txt "${CMAKE_CURRENT_BINARY_DIR}/TestingIfSymlinkWorks"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}