cmake: Fix target name
The executable target run by ctest is `mptest`. This change removes unnecessary steps when building the `codegen` target.
This commit is contained in:
1 file changed
+1
-1
@@ -27,7 +27,7 @@ function(add_libmultiprocess subdir)
|
|||||||
mark_as_advanced(CapnProto_kj-tls_IMPORTED_LOCATION)
|
mark_as_advanced(CapnProto_kj-tls_IMPORTED_LOCATION)
|
||||||
if(BUILD_TESTS)
|
if(BUILD_TESTS)
|
||||||
# Add tests to "all" target so ctest can run them
|
# Add tests to "all" target so ctest can run them
|
||||||
set_target_properties(mptests PROPERTIES EXCLUDE_FROM_ALL OFF)
|
set_target_properties(mptest PROPERTIES EXCLUDE_FROM_ALL OFF)
|
||||||
endif()
|
endif()
|
||||||
# Exclude examples from compilation database, because the examples are not
|
# Exclude examples from compilation database, because the examples are not
|
||||||
# built by default, and they contain generated c++ code. Without this
|
# built by default, and they contain generated c++ code. Without this
|
||||||
|
|||||||
Reference in new issue
Block a user