Explorar el Código

fix builds again...

alex hace 2 años
padre
commit
32048bbe99
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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)