Skip to content

Commit

Permalink
cmake: remove blank INSTALL_NAME_DIR property on Apple targets.
Browse files Browse the repository at this point in the history
It apparently didn't fix the thing it was trying to fix, and it's causing
other problems.

Fixes #194.
  • Loading branch information
icculus committed Sep 1, 2022
1 parent e511d82 commit 5642d47
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ if(UNIX AND NOT APPLE)
target_link_libraries(SDL PRIVATE ${CMAKE_DL_LIBS})
endif()
if(APPLE)
set_target_properties(SDL PROPERTIES INSTALL_NAME_DIR "")
set_target_properties(SDL PROPERTIES COMPILE_DEFINITIONS "_THREAD_SAFE")
set_target_properties(SDL PROPERTIES LINK_FLAGS
"-Wl,-compatibility_version,${DYLIB_COMPAT_VERSION} -Wl,-current_version,${DYLIB_CURRENT_VERSION}")
Expand Down

0 comments on commit 5642d47

Please sign in to comment.