Skip to content
Snippets Groups Projects
Commit fe774c6e authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny:
Browse files

Dependencies: on macOS, use Frameworks as last option

parent d95335e9
Branches
Tags
Loading
...@@ -2,6 +2,14 @@ ...@@ -2,6 +2,14 @@
cmake_minimum_required( VERSION 3.1 ) cmake_minimum_required( VERSION 3.1 )
project( "GMX" VERSION 1.0.0 LANGUAGES CXX ) project( "GMX" VERSION 1.0.0 LANGUAGES CXX )
# By default prefer not to use frameworks on macOS.
# But use it at a "LAST" resource, if no other options worked.
# For details on the behaviour of this cache variable, see:
# - https://cmake.org/cmake/help/v3.0/command/find_file.html
set( CMAKE_FIND_FRAMEWORK "LAST" CACHE STRING
"Framework finding behaviour on macOS" )
add_subdirectory(GeoModelXml) add_subdirectory(GeoModelXml)
add_subdirectory(GMXPlugin) add_subdirectory(GMXPlugin)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment