cmake fix
This commit is contained in:
parent
c6c6a970c6
commit
89b8fe1e21
1 changed files with 4 additions and 1 deletions
|
@ -140,4 +140,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|||
PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS ${PROTO_FILES})
|
||||
|
||||
add_library(cockatrice_protocol ${PROTO_SRCS} ${PROTO_HDRS})
|
||||
target_link_libraries(cockatrice_protocol ${PROTOBUF_LIBRARIES} -lprotobuf)
|
||||
if (WIN32)
|
||||
set(cockatrice_protocol_LIBS ${cockatrice_protocol_LIBS} -lprotobuf)
|
||||
endif (WIN32)
|
||||
target_link_libraries(cockatrice_protocol ${cockatrice_protocol_LIBS})
|
||||
|
|
Loading…
Reference in a new issue