are these messages actually somehow fixing the issue?

This commit is contained in:
jadebenn 2024-04-06 19:37:02 -05:00
parent a4b6b7c0d9
commit fab74c90b6
2 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@ enable_testing()
find_package(GoogleTest REQUIRED)
include(GoogleTest)
message(STATUS "CMAKE_RUNTIME_OUTPUT_DIRECTORY = ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
#message(STATUS "CMAKE_RUNTIME_OUTPUT_DIRECTORY = ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
message(STATUS "CMAKE_RUNTIME_OUTPUT_DIRECTORY = ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
#message(STATUS "CMAKE_RUNTIME_OUTPUT_DIRECTORY = ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
if(APPLE)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH True)

View File

@ -24,7 +24,7 @@ if(NOT WIN32)
endif()
# Need to define this on Clang and GNU for 'strdup' support
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR "GNU")
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_compile_definitions(bcrypt PRIVATE "_POSIX_C_SOURCE=200809L")
endif()