mirror of https://github.com/FreeRDP/FreeRDP
rdtk: build samples only if WITH_SAMPLE is enabled
This commit is contained in:
parent
b35dc849ee
commit
ec0de7f6f6
|
@ -66,8 +66,10 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}/include)
|
|||
add_subdirectory(include)
|
||||
add_subdirectory(librdtk)
|
||||
|
||||
if(WITH_X11)
|
||||
add_subdirectory(sample)
|
||||
if(WITH_SAMPLE)
|
||||
if(WITH_X11)
|
||||
add_subdirectory(sample)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Exporting
|
||||
|
|
Loading…
Reference in New Issue