We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae4a3ae commit 0456d64Copy full SHA for 0456d64
PI/CMakeLists.txt
@@ -27,6 +27,14 @@ target_include_directories(bmpi PRIVATE
27
# FIXME: remove the redundant moves
28
target_compile_options(bmpi PRIVATE "-Wno-error=redundant-move")
29
30
+if(WITH_TARGETS)
31
+ target_compile_definitions(bmpi PRIVATE WITH_SIMPLE_SWITCH)
32
+
33
+ target_include_directories(bmpi PRIVATE
34
+ ${CMAKE_SOURCE_DIR}/targets/simple_switch
35
+ )
36
+endif()
37
38
install(TARGETS bmpi
39
LIBRARY DESTINATION lib
40
ARCHIVE DESTINATION lib
0 commit comments