b5b412437f
FossilOrigin-Name: 201dd545a95e0aeca03a6a6795485c7831b7815fcebf8a6e6ebe1a1c3a559e15
6 lines
185 B
CMake
6 lines
185 B
CMake
macro(add_module TheModule)
|
|
message("-- Adding module ${TheModule}")
|
|
set("MODULE_${TheModule}" ON)
|
|
target_compile_definitions(wormhole PRIVATE
|
|
MODULE_${TheModule})
|
|
endmacro()
|