File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ else()
1414 set (GDCM_BUILD_SHARED_LIBS ON )
1515endif (WIN32 )
1616
17+ if (LINUX)
18+ set (PYTHON_LIBRARY "MANOLO" )
19+ endif (LINUX)
20+
1721find_package (
1822 Python
1923 COMPONENTS Interpreter Development.Module
@@ -54,14 +58,9 @@ if(APPLE)
5458 set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -undefined dynamic_lookup -liconv" )
5559 set (CMAKE_INSTALL_RPATH "@loader_path" )
5660 set (CMAKE_BUILD_RPATH "@loader_path" )
57- execute_process (
58- COMMAND sed -i "" -E "s/^[[:blank:]]*list\\ (APPEND OPENJPEG_LIBRARY_PROPERTIES INSTALL_NAME_DIR \"\\ $\\ {CMAKE_INSTALL_PREFIX\\ }\\ /\\ $\\ {OPENJPEG_INSTALL_LIB_DIR\\ }\\\" )//"
59- ${CMAKE_SOURCE_DIR} /gdcm_src/Utilities/gdcmopenjpeg/CMakeLists.txt
60- RESULT_VARIABLE result
61- )
6261elseif (LINUX)
6362 set (CMAKE_INSTALL_RPATH "\$ ORIGIN" )
6463endif ()
6564
6665
67- add_subdirectory (gdcm_src)
66+ add_subdirectory (gdcm_src)
You can’t perform that action at this time.
0 commit comments