cmake: Change endmacro(.*) to endmacro()

This commit is contained in:
Florent Castelli 2017-01-25 06:29:30 +01:00
parent 103361c846
commit 223e213bcf
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ add_definitions(-D__STDC_CONSTANT_MACROS)
macro(add_dolphin_library lib srcs libs) macro(add_dolphin_library lib srcs libs)
add_library(${lib} STATIC ${srcs}) add_library(${lib} STATIC ${srcs})
target_link_libraries(${lib} ${libs}) target_link_libraries(${lib} ${libs})
endmacro(add_dolphin_library) endmacro()
add_subdirectory(Core) add_subdirectory(Core)
if (ANDROID) if (ANDROID)

View File

@ -17,7 +17,7 @@ macro(add_dolphin_test target srcs)
target_link_libraries(Test_${target} ${LIBS}) target_link_libraries(Test_${target} ${LIBS})
add_dependencies(unittests Test_${target}) add_dependencies(unittests Test_${target})
add_test(NAME ${target} COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Tests/${target}) add_test(NAME ${target} COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Tests/${target})
endmacro(add_dolphin_test) endmacro()
add_subdirectory(TestUtils) add_subdirectory(TestUtils)