diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 690f970a..9087f8ee 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -62,7 +62,7 @@ if (NOT BUILD_SHARED_LIBS) add_library(raylib_static ALIAS raylib) else() MESSAGE(STATUS "Building raylib shared library") - if (MSVC) + if (WIN32) target_compile_definitions(raylib PRIVATE $ INTERFACE $