libprima / prima

PRIMA is a package for solving general nonlinear optimization problems without using derivatives. It provides the reference implementation for Powell's derivative-free optimization methods, i.e., COBYLA, UOBYQA, NEWUOA, BOBYQA, and LINCOA. PRIMA means Reference Implementation for Powell's methods with Modernization and Amelioration, P for Powell.
http://libprima.net
BSD 3-Clause "New" or "Revised" License
290 stars 35 forks source link

Update CMakeLists.txt to fix https://github.com/libprima/prima/issues… #160

Closed zaikunzhang closed 4 months ago

zaikunzhang commented 4 months ago

…/158

The failure is due to the new linker implemented in Xcode 15. See

https://stackoverflow.com/questions/77525544/apple-linker-warning-ld-warning-undefined-error-is-deprecated

https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking

https://medium.com/@hackingwithcode/cmake-and-xcode-15-solving-the-undefined-error-puzzle-3c847e6d1008