mirror of
https://github.com/boostorg/locale.git
synced 2026-01-19 04:22:08 +00:00
Exclude examples from ALL target
Only build with the `tests` target
This commit is contained in:
committed by
Alexander Grund
parent
f7b1de5403
commit
93d36817fc
@@ -10,7 +10,7 @@ function(boost_locale_add_example name)
|
||||
endif()
|
||||
set(name ${PROJECT_NAME}-expl_${name})
|
||||
|
||||
add_executable(${name} ${ARG_SRC})
|
||||
add_executable(${name} EXCLUDE_FROM_ALL ${ARG_SRC})
|
||||
add_dependencies(tests ${name})
|
||||
target_link_libraries(${name} PRIVATE
|
||||
Boost::locale
|
||||
|
||||
Reference in New Issue
Block a user