Fix apply to all

This commit is contained in:
2015-07-14 03:53:24 +01:00
parent 4cdb044e83
commit 42f42fb1a1
2 changed files with 3 additions and 4 deletions
-2
View File
@@ -18,8 +18,6 @@ MACRO(ADD_MODULE name file )
list(APPEND plaYUver_Mod_SRCS ${file} )
LIST(APPEND MODULES_LIST ${name} )
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/ModulesListHeader.h "#include \"${file}.h\"\n")
add_definitions( -DUSE_MODULE_${name} )
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/ModulesListMacro.h "\\\n REGISTER_MODULE( ${name} ); ")
endif()
unset(__modulename)
ENDMACRO()