Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLorenz committed Jan 12, 2024
1 parent 1b315fd commit f7d54cc
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
cmake_minimum_required(VERSION 3.5)

set(PROJECT liblo)
set(PACKAGE_NAME "${PROJECT}")
if (WITH_CPP_TESTS)
project(${PROJECT} LANGUAGES C CXX)
else()
project(${PROJECT} LANGUAGES C)
endif()

option(WITH_TOOLS "Enable building tools." ON)
option(WITH_TESTS "Enable building tests." ON)
option(WITH_EXAMPLES "Enable building examples." ON)
Expand All @@ -22,15 +30,6 @@ if(NOT CMAKE_BUILD_TYPE)
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel")
endif()

set(PROJECT liblo)
set(PACKAGE_NAME "${PROJECT}")
if (WITH_CPP_TESTS)
project(${PROJECT} LANGUAGES C CXX)
else()
project(${PROJECT} LANGUAGES C)
endif()


include(CheckIncludeFiles)
include(CheckSymbolExists)
include(CheckLibraryExists)
Expand Down

0 comments on commit f7d54cc

Please sign in to comment.