Commit f1f59b85 authored by PRUVOST Florent's avatar PRUVOST Florent

Only disable examples and testings if simulation mode because this mode does not support it

parent 075986df
......@@ -1088,14 +1088,14 @@ if(_match_ifort)
endif(_match_ifort)
# Testing executables
if(CHAMELEON_ENABLE_EXAMPLE)
if(CHAMELEON_ENABLE_EXAMPLE AND NOT CHAMELEON_SIMULATION)
add_subdirectory(example)
endif(CHAMELEON_ENABLE_EXAMPLE)
endif(CHAMELEON_ENABLE_EXAMPLE AND NOT CHAMELEON_SIMULATION)
# Testing executables
if(CHAMELEON_ENABLE_TESTING)
if(CHAMELEON_ENABLE_TESTING AND NOT CHAMELEON_SIMULATION)
add_subdirectory(testing)
endif(CHAMELEON_ENABLE_TESTING)
endif(CHAMELEON_ENABLE_TESTING AND NOT CHAMELEON_SIMULATION)
# Timing executables
if(CHAMELEON_ENABLE_TIMING)
......
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