Commit 2a7201b4 authored by Dave Moxey's avatar Dave Moxey

Get rid of one further EXISTS statement

parent f436a5b5
...@@ -299,12 +299,11 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/Nektar++Config.cmake ...@@ -299,12 +299,11 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/Nektar++Config.cmake
COMPONENT dev) COMPONENT dev)
# Install ThirdParty headers to subdirectory of ${NEKTAR_INCLUDE_DIR} # Install ThirdParty headers to subdirectory of ${NEKTAR_INCLUDE_DIR}
IF (EXISTS ${TPDIST}/include) INSTALL(DIRECTORY ${TPDIST}/include/
INSTALL(DIRECTORY ${TPDIST}/include/ DESTINATION ${NEKTAR_INCLUDE_DIR}/ThirdParty
DESTINATION ${NEKTAR_INCLUDE_DIR}/ThirdParty COMPONENT dev
COMPONENT dev OPTIONAL
) )
ENDIF()
# Install ThirdParty libraries into ${NEKTAR_LIB_DIR}. These are shipped with # Install ThirdParty libraries into ${NEKTAR_LIB_DIR}. These are shipped with
# the LibUtilities library. # the LibUtilities library.
......
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