Commit ec8f603a authored by Stefan Gerlach's avatar Stefan Gerlach
Browse files

Fix linking pythonserver with MSVC

parent 098f3256
......@@ -31,6 +31,9 @@ target_link_libraries(cantor_pythonbackend
add_executable(cantor_pythonserver ${PythonServer_SRCS})
set_target_properties(cantor_pythonserver PROPERTIES INSTALL_RPATH_USE_LINK_PATH false)
if(MSVC)
set_property(TARGET cantor_pythonserver PROPERTY LINK_FLAGS "/SUBSYSTEM:CONSOLE")
endif()
target_link_libraries(cantor_pythonserver ${PYTHONLIBS3_LIBRARIES})
if(BUILD_TESTING)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment