rdtk: build samples only if WITH_SAMPLE is enabled

This commit is contained in:
Bernhard Miklautz 2014-12-12 17:53:33 +01:00
parent b35dc849ee
commit ec0de7f6f6

View File

@ -66,8 +66,10 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}/include)
add_subdirectory(include) add_subdirectory(include)
add_subdirectory(librdtk) add_subdirectory(librdtk)
if(WITH_X11) if(WITH_SAMPLE)
add_subdirectory(sample) if(WITH_X11)
add_subdirectory(sample)
endif()
endif() endif()
# Exporting # Exporting