Skip to content

Commit

Permalink
Fixing cmake use
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos committed Jul 15, 2024
1 parent f81fefc commit f90eff9
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.11 FATAL_ERROR)
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 17)

enable_language( CXX )

include (GenerateExportHeader)
include (GNUInstallDirs)

message(STATUS "LIB directory is '${CMAKE_INSTALL_LIBDIR}'")
message(STATUS "BIN directory is '${CMAKE_INSTALL_BINDIR}'")
Expand Down Expand Up @@ -85,6 +78,14 @@ endforeach()


PROJECT(breakid)
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 17)

enable_language( CXX )

include (GenerateExportHeader)
include (GNUInstallDirs)

SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

# static compilation
Expand Down

0 comments on commit f90eff9

Please sign in to comment.