Fix to compile only some samples when boost is found

This commit is contained in:
Guilhem Lavaux 2017-09-11 10:20:41 +02:00
parent e80cf11f92
commit 14f6062ccb

View File

@ -39,12 +39,6 @@ if (HDF5_FOUND)
add_executable(testReadFlash testReadFlash.cpp)
target_link_libraries(testReadFlash ${tolink})
add_executable(testHDF5 testHDF5.cpp)
target_link_libraries(testHDF5 ${tolink})
add_executable(graficToDensity graficToDensity.cpp)
target_link_libraries(graficToDensity ${tolink})
endif (HDF5_FOUND)
@ -94,6 +88,12 @@ if (Boost_FOUND)
if (HDF5_FOUND)
add_executable(gadgetToArray gadgetToArray.cpp)
target_link_libraries(gadgetToArray ${tolink})
add_executable(testHDF5 testHDF5.cpp)
target_link_libraries(testHDF5 ${tolink})
add_executable(graficToDensity graficToDensity.cpp)
target_link_libraries(graficToDensity ${tolink})
endif()
endif (Boost_FOUND)