fix weird build issues

This commit is contained in:
Fabian Posch 2025-01-03 12:52:56 +01:00
parent 5b3b3b9810
commit 182be82ac2
2 changed files with 14 additions and 19 deletions

View file

@ -76,25 +76,6 @@ set(CMAKE_INSTALL_PREFIX $ENV{ACT_HOME} CACHE PATH "installation path" FORCE)
add_subdirectory(src)
# Link the needed libraries into it
target_link_libraries(
${PROJECT_NAME}
act-cluster-lib
actsim-agent-lib
)
# Add the Postgresql library
target_link_libraries(
${PROJECT_NAME}
-lpqxx -lpq
)
# specify install targets
install(
TARGETS actsim-cluster-agent
DESTINATION bin
)
# We don't provide a library
#install(
# TARGETS dflowchp

View file

@ -17,3 +17,17 @@ add_executable(
${PROJECT_NAME}
${proj_SRC}
)
# Link the needed libraries into it
target_link_libraries(
${PROJECT_NAME}
act-cluster-lib
${actsim_agent_lib}
-lpqxx -lpq
)
# specify install targets
install(
TARGETS actsim-cluster-agent
DESTINATION bin
)