Skip to content

Commit

Permalink
revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Sep 9, 2022
1 parent 13b298e commit 0022a03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,24 @@ foreach (header IN LISTS clientPublicHeaders)
list(APPEND clientPublicHeadersFull "${publicHeaderDir}/${header}")
endforeach ()

add_library(proxyfmu-client ${commonPublicHeadersFull} ${clientPublicHeadersFull} ${clientPrivateHeaders} ${clientSources} ${libInfo} "$<TARGET_OBJECTS:proxyfmu-service>")
add_library(proxyfmu-client ${commonPublicHeadersFull} ${clientPublicHeadersFull} ${clientPrivateHeaders} ${clientSources} ${libInfo})
add_library(proxyfmu::proxy-client ALIAS proxyfmu-client)
target_compile_features(proxyfmu-client PUBLIC "cxx_std_17")
set_target_properties(proxyfmu-client PROPERTIES POSITION_INDEPENDENT_CODE ON)
target_include_directories(proxyfmu-client
PUBLIC
"$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>"
PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}"
"${generatedSourcesDir}"
"${CMAKE_CURRENT_SOURCE_DIR}"
"${SUBPROCESS_INCLUDE_DIR}"
)
target_link_libraries(proxyfmu-client
PUBLIC
fmilibcpp::fmilibcpp
PRIVATE
thrift::thrift
"$<TARGET_OBJECTS:proxyfmu-service>"
)
if (UNIX)
target_link_libraries(proxyfmu-client PRIVATE pthread)
Expand Down

0 comments on commit 0022a03

Please sign in to comment.