mirror of
https://github.com/eddyem/BTA_utils.git
synced 2026-08-15 04:29:24 +03:00
fixed for new libusefull_macros
This commit is contained in:
@@ -11,7 +11,7 @@ message("VERSION: ${VERSION}")
|
||||
|
||||
# list of options
|
||||
option(DEBUG "Compile in debug mode" OFF)
|
||||
option(EXAMPLES "Compile also all examples" ON)
|
||||
#option(EXAMPLES "Compile also all examples" ON)
|
||||
|
||||
# default flags
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Wextra -std=gnu99")
|
||||
@@ -68,6 +68,6 @@ include(GNUInstallDirs)
|
||||
install(TARGETS ${PROJ} DESTINATION "bin")
|
||||
|
||||
# EXAMPLES
|
||||
if(EXAMPLES)
|
||||
add_subdirectory(examples)
|
||||
endif()
|
||||
#if(EXAMPLES)
|
||||
# add_subdirectory(examples)
|
||||
#endif()
|
||||
|
||||
Reference in New Issue
Block a user