Skip to content

Commit

Permalink
Merge pull request #53 from barracuda156/gcc_darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
ntamas authored Dec 3, 2024
2 parents 56f041c + 262682c commit 75477b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if(PLFIT_USE_OPENMP AND OPENMP_FOUND)
target_link_libraries(plfit OpenMP::OpenMP_C)
endif()

if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT APPLE)
set_target_properties(plfit PROPERTIES LINK_FLAGS "-Wl,--version-script=${PROJECT_SOURCE_DIR}/src/plfit.map")
set_target_properties(plfit PROPERTIES LINK_DEPENDS ${PROJECT_SOURCE_DIR}/src/plfit.map)
endif()
Expand Down

0 comments on commit 75477b4

Please sign in to comment.