File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,6 @@ if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/src/pyne/pyne/readme.rst")
48
48
endif ()
49
49
50
50
# Make the scripts in the "cmake" directory available to CMake
51
- # set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "cmake" PARENT_SCOPE)
52
- # set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "/usr/local/Cellar/cmake/3.29.6/share/cmake/Modules")
53
- MESSAGE ("CMAKE_MODULE_PATH=${CMAKE_MODULE_PATH} " )
54
51
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR} /cmake)
55
52
include (DAGMC_macros)
56
53
Original file line number Diff line number Diff line change @@ -13,8 +13,11 @@ set(LINK_LIBS_EXTERN_NAMES MOAB_LIBRARIES HDF5_LIBRARIES)
13
13
include_directories (${CMAKE_BINARY_DIR} /src/dagmc)
14
14
15
15
dagmc_install_library(dagmc)
16
- add_dependencies (dagmc-shared MOAB)
17
- target_link_libraries (dagmc-shared PUBLIC ${MOAB_INSTALL_PREFIX} /lib64/libMOAB.so)
16
+
17
+ if (DDL_INSTALL_DEPS)
18
+ add_dependencies (dagmc-shared MOAB)
19
+ target_link_libraries (dagmc-shared PUBLIC ${MOAB_INSTALL_PREFIX} /lib64/libMOAB.so)
20
+ endif ()
18
21
add_subdirectory (tools)
19
22
20
23
if (BUILD_TESTS)
Original file line number Diff line number Diff line change @@ -34,4 +34,6 @@ if(NOT (${HDF5_VERSION} VERSION_LESS 1.12.0))
34
34
endif ()
35
35
36
36
dagmc_install_library(pyne_dagmc)
37
- add_dependencies (pyne_dagmc-shared MOAB)
37
+ if (DDL_INSTALL_DEPS)
38
+ add_dependencies (pyne_dagmc-shared MOAB)
39
+ endif ()
You can’t perform that action at this time.
0 commit comments