diff --git a/CMakeLists.txt b/CMakeLists.txt index 26497336e7e23d718b99cd12f0a3d867cc85ee40..9527b997620c3a3afdce3289fdcd13f781463275 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -301,7 +301,7 @@ add_subdirectory(Src) # Link with scalfmm lib set(scalfmm_lib scalfmm) -if( ScalFMM_BUILD_ONLY_LIB ) +if( NOT ScalFMM_BUILD_ONLY_LIB ) # Build - Examples and drivers add_subdirectory(Examples) endif()