Commit 2e3967cc 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 9dc7682c
......@@ -56,12 +56,6 @@ else()
endif()
set(LIBRARY_OUTPUT_PATH ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
CACHE INTERNAL
""
)
file(GLOB SOURCE_FILES
catalystCoprocess.C
catalystTools.C
......@@ -114,4 +108,6 @@ target_link_libraries(
${OPENFOAM_LIBRARIES}
)
install(TARGETS catalystFoam DESTINATION lib)
#-----------------------------------------------------------------------------
......@@ -48,6 +48,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