Skip to content

Commit

Permalink
cmake fix for apple build, suggestion by endysonx
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJerez committed Jan 20, 2024
1 parent dcbb45f commit d4f78cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions newton-4.00/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ endif(NOT CMAKE_BUILD_TYPE)
#check for MAC
if(APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fms-extensions")
set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS} -undefined dynamic_lookup")
endif(APPLE)

#check for UNIX
Expand Down

0 comments on commit d4f78cf

Please sign in to comment.