1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Update CMakeLists.txt

This commit is contained in:
Sandu Liviu Catalin 2021-08-18 21:35:25 +03:00
parent 4090b558ad
commit ec01a80486

View File

@ -35,16 +35,16 @@ set(POCO_UNBUNDLED OFF CACHE INTERNAL "" FORCE)
add_subdirectory(POCO) add_subdirectory(POCO)
# Windows gets stupid sometimes # Windows gets stupid sometimes
if (WIN32 AND MINGW) if (WIN32 AND MINGW)
target_compile_definitions(Foundation PUBLIC POCO_NO_FPENVIRONMENT=1) target_compile_definitions(Foundation PUBLIC POCO_NO_FPENVIRONMENT=1)
endif() endif()
# We have these on GCC # We have these on GCC
if(MINGW OR GCC) if(MINGW OR GCC)
set(ENABLE_INTRINSICS ON CACHE INTERNAL "" FORCE) set(ENABLE_INTRINSICS ON CACHE INTERNAL "" FORCE)
endif() endif()
set(BUILD_TESTS OFF CACHE INTERNAL "" FORCE) set(BUILD_TESTS OFF CACHE INTERNAL "" FORCE)
set(BUILD_SHARED OFF CACHE INTERNAL "" FORCE) set(BUILD_SHARED OFF CACHE INTERNAL "" FORCE)
set(BUILD_STATIC ON CACHE INTERNAL "" FORCE) set(BUILD_STATIC ON CACHE INTERNAL "" FORCE)
if (WIN32 OR MINGW) if (WIN32 OR MINGW)
set(ZMQ_HAVE_IPC OFF CACHE INTERNAL "" FORCE) set(ZMQ_HAVE_IPC OFF CACHE INTERNAL "" FORCE)
endif() endif()
add_subdirectory(ZMQ) add_subdirectory(ZMQ)