Skip to content
Snippets Groups Projects
Commit 64955ba0 authored by Simone Bna's avatar Simone Bna
Browse files

ENH: added install command to cmake script

 - LIBRARY_OUTPUT_PATH is removed
 - CMAKE_LIBRARY_OUTPUT_DIRECTORY is used instead of LIBRARY_OUTPUT_PATH
 - CMAKE_INSTALL_PREFIX is used as install destination
parent 398ecc8f
No related branches found
No related tags found
Loading
...@@ -49,12 +49,6 @@ link_directories( ...@@ -49,12 +49,6 @@ link_directories(
set(CMAKE_BUILD_TYPE Release) set(CMAKE_BUILD_TYPE Release)
set(LIBRARY_OUTPUT_PATH ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
CACHE INTERNAL
""
)
file(GLOB SOURCE_FILES file(GLOB SOURCE_FILES
catalystCoprocess.C catalystCoprocess.C
catalystTools.C catalystTools.C
...@@ -107,4 +101,6 @@ target_link_libraries( ...@@ -107,4 +101,6 @@ target_link_libraries(
${OPENFOAM_LIBRARIES} ${OPENFOAM_LIBRARIES}
) )
install(TARGETS catalystFoam DESTINATION lib)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
...@@ -46,6 +46,7 @@ if (NOT PARAVIEW_USE_MPI) ...@@ -46,6 +46,7 @@ if (NOT PARAVIEW_USE_MPI)
message(WARNING "==== Recommended to build using ParaView Catalyst with MPI ====") message(WARNING "==== Recommended to build using ParaView Catalyst with MPI ====")
endif() endif()
message("install libdir = ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}") message("install libdir = ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}")
message("install installdir = ${CMAKE_INSTALL_PREFIX}")
message("================") message("================")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment