Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLorenz committed Jan 13, 2024
1 parent ac76b0b commit 288c212
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ option(WITH_CPP_TESTS "Enable building C++ wrapper tests." ON)
option(WITH_STATIC "Enable building static library." OFF)
option(THREADING "Build with threading support." ON)

if(CMAKE_SYSTEM_NAME MATCHES "Windows")
set(WITH_STATIC 1)
endif()

if (WITH_STATIC)
message(STATUS "If you are using the static library build, please keep in mind (and inform yourself of the implications) that liblo is licensed with LGPL v2.1+.")
endif()

if(NOT CMAKE_BUILD_TYPE)
message(STATUS "Setting build type to 'Release' as none was specified.")
set(CMAKE_BUILD_TYPE "Release" CACHE STRING
Expand All @@ -29,6 +21,14 @@ else()
project(${PROJECT} LANGUAGES C)
endif()

if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
set(WITH_STATIC 1)
endif()

if (WITH_STATIC)
message(STATUS "If you are using the static library build, please keep in mind (and inform yourself of the implications) that liblo is licensed with LGPL v2.1+.")
endif()


include(CheckIncludeFiles)
include(CheckSymbolExists)
Expand Down

0 comments on commit 288c212

Please sign in to comment.