wormhole/cmake/Module.cmake
nekobit 2a06ffa86c Split CMake components to libraries, import OpenSSL
FossilOrigin-Name: fc69966ec9877debf721b13592fe218090d57c92f967c4c0ec9f95f36aedfff5
2022-10-11 00:22:45 +00:00

5 lines
155 B
CMake

macro(add_module TheModule)
message("-- Adding module ${TheModule}")
set("MODULE_${TheModule}" ON)
add_definitions(-DMODULE_${TheModule})
endmacro()