cmake: Split math_opt into sub library
XCode do not support object library with several file with the same name since it use a flat directory, Xcode "fix" using a UID but CMake can't catch it. math_opt also use a parameters.proto which conflict with the glop/parameters.proto -> need to split the proto to .cc generation in two libraries
This commit is contained in:
committed by
Corentin Le Molgat
parent
a42814c06b
commit
d8634ab0f2
@@ -28,5 +28,5 @@ target_link_libraries(${NAME} PRIVATE
|
||||
absl::flags
|
||||
absl::strings
|
||||
protobuf::libprotobuf
|
||||
${PROJECT_NAME}::proto)
|
||||
#add_library(${PROJECT_NAME}::init ALIAS ${NAME})
|
||||
${PROJECT_NAMESPACE}::${PROJECT_NAME}_proto)
|
||||
#add_library(${PROJECT_NAMESPACE}::init ALIAS ${NAME})
|
||||
|
||||
Reference in New Issue
Block a user