Procházet zdrojové kódy

fix builds again...

alex před 2 roky
rodič
revize
32048bbe99
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      CMakeLists.txt

+ 2 - 2
CMakeLists.txt

@@ -35,9 +35,9 @@ endif()
 
 
 if(MSVC)
-    target_compile_definitions(enet PRIVATE -W3)
+    target_compile_options(enet PRIVATE -W3)
 else()
-    target_compile_definitions(enet PRIVATE -Wno-error)
+    target_compile_options(enet PRIVATE -Wno-error)
 endif()
 
 target_include_directories(enet PUBLIC ${PROJECT_SOURCE_DIR}/include)