Skip to content

Commit 8d0ae8c

Browse files
author
Milan Hanus
committed
Move the MacOS specific searching for libraries from hermes_common to the project's root (where searching for all other libraries is executed).
1 parent 36304ea commit 8d0ae8c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,11 @@ if(WITH_MPI)
385385
include_directories(MPI_INCLUDE_PATH)
386386
endif(WITH_MPI)
387387

388+
# Use modified search procedures for some libraries on MacOS.
389+
IF (APPLE)
390+
include(${CMAKE_HOME_DIRECTORY}/OSX.cmake)
391+
ENDIF (APPLE)
392+
388393

389394
#------------------------------------------------------------------------------
390395
# Project-wide compiler settings.

hermes_common/CMakeLists.txt

-5
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ configure_file(
9393
include(BuildAndInstallScripts)
9494
include(PickRealOrCplxLibs)
9595

96-
IF (APPLE)
97-
include(${CMAKE_HOME_DIRECTORY}/OSX.cmake)
98-
ENDIF (APPLE)
99-
100-
10196
# This is needed e.g. for eigenvalue problems.
10297
# FIXME: Find which projects need it and enclose their CMake scripts in
10398
# if(WITH_PYTHON) ... endif(WITH_PYTHON). The following should then be not needed,

0 commit comments

Comments
 (0)