Adjusting cmake rules for case where fermi-ware is not present

This commit is contained in:
Alex Lin 2019-11-19 13:22:04 -06:00
parent 7c6c833a6a
commit bbc79b491b
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ add_subdirectory(Log)
add_subdirectory(EQParse)
add_subdirectory(units)
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/fermi-ware )
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/fermi-ware/CakeLists.txt )
add_subdirectory(fermi-ware)
endif()

View File

@ -3,6 +3,6 @@ add_subdirectory(DPM)
add_subdirectory(DPC)
add_subdirectory(DPV/UTILS)
add_subdirectory(APPS/GXPLOT)
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../fermi-ware )
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../fermi-ware/CMakeLists.txt )
add_subdirectory(APPS/FXPLOT)
endif()