Browse Source

Remove if(WIN32) for target_link_libraries in CMakeLists.txt

Filip Klembara 4 years ago
parent
commit
7a219b23d5
1 changed files with 2 additions and 5 deletions
  1. 2 5
      examples/streamer/CMakeLists.txt

+ 2 - 5
examples/streamer/CMakeLists.txt

@@ -13,10 +13,7 @@ set_target_properties(streamer PROPERTIES
 	CXX_STANDARD 17
 	OUTPUT_NAME streamer)
 
-if(WIN32)
-	target_link_libraries(streamer datachannel-static) # DLL exports only the C API
-else()
-	target_link_libraries(streamer datachannel)
-endif()
+target_link_libraries(streamer datachannel)
+
 target_link_libraries(streamer datachannel nlohmann_json)