Fix to compile only some samples when boost is found
This commit is contained in:
parent
e80cf11f92
commit
14f6062ccb
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user