Commit bc455b5d authored by larchunix's avatar larchunix Committed by larchunix

cmake: remove useless WITH_EXAMPLE definition

parent 917e4fcb
......@@ -237,10 +237,5 @@ if(GTK_FOUND)
add_subdirectory(plugins/secret)
endif()
if(WITH_EXAMPLES)
message(STATUS "Enabling examples and test plugins.")
add_definitions(-DWITH_EXAMPLES)
endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
${CMAKE_CURRENT_SOURCE_DIR}/config.h)
......@@ -83,6 +83,7 @@ if(SPICE_FOUND)
endif()
if(WITH_EXAMPLES)
message(STATUS "Enabling examples and test plugins.")
add_subdirectory(tool_hello_world)
endif()
add_subdirectory(exec)
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