Commit 64955ba0 authored by Simone Bna's avatar Simone Bna

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
......@@ -49,12 +49,6 @@ link_directories(
set(CMAKE_BUILD_TYPE Release)
set(LIBRARY_OUTPUT_PATH ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
CACHE INTERNAL
""
)
file(GLOB SOURCE_FILES
catalystCoprocess.C
catalystTools.C
......@@ -107,4 +101,6 @@ target_link_libraries(
${OPENFOAM_LIBRARIES}
)
install(TARGETS catalystFoam DESTINATION lib)
#-----------------------------------------------------------------------------
......@@ -46,6 +46,7 @@ if (NOT PARAVIEW_USE_MPI)
message(WARNING "==== Recommended to build using ParaView Catalyst with MPI ====")
endif()
message("install libdir = ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}")
message("install installdir = ${CMAKE_INSTALL_PREFIX}")
message("================")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment