diff --git a/CMakeLists.txt b/CMakeLists.txt index 507a5a2..c550daf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,10 @@ if(APPLE) add_definitions(-Wno-deprecated-declarations -Wno-many-braces-around-scalar-init) endif() +if (WIN32) + add_definitions(-DCMAKE_CONFIGURATION_TYPES=Release) +endif() + option(SFML_BUILD_AUDIO "Build audio" OFF) option(SFML_BUILD_NETWORK "Build network" OFF)