Moved the STATIC_LIBRARY and EXECUTABLE keyword to the beginning of the function argument list

This commit is contained in:
Alvin Moore 2020-01-08 16:02:03 -08:00
parent bdf8c8a7bd
commit fdbe9e4419
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ set(SRCS
fdb_flow.actor.cpp
fdb_flow.h)
add_flow_target(NAME fdb_flow SRCS ${SRCS} STATIC_LIBRARY)
add_flow_target(STATIC_LIBRARY NAME fdb_flow SRCS ${SRCS})
target_link_libraries(fdb_flow PUBLIC fdb_c)
add_subdirectory(tester)

View File

@ -2,5 +2,5 @@ set(TEST_SRCS
DirectoryTester.actor.cpp
Tester.actor.cpp
Tester.actor.h)
add_flow_target(NAME fdb_flow_tester EXECUTABLE SRCS ${TEST_SRCS})
add_flow_target(EXECUTABLE NAME fdb_flow_tester SRCS ${TEST_SRCS})
target_link_libraries(fdb_flow_tester fdb_flow)