Skip to content

Commit

Permalink
Undo Makefile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLorenz committed Jan 13, 2024
1 parent 288c212 commit b5fa9cf
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ 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 (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 @@ -21,14 +25,6 @@ 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 b5fa9cf

Please sign in to comment.