Skip to content

Commit

Permalink
Correct centos7 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Le Courtois Florent committed Feb 4, 2021
1 parent a64d836 commit def9720
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ endif(MSVC)

MESSAGE("CMAKE_BINARY_DIR : ${CMAKE_BINARY_DIR}")
MESSAGE("CMAKE_SOURCE_DIR : ${CMAKE_SOURCE_DIR}")

# SET(CMAKE_CC_COMPILER /logiciels/public/gcc-4.1.0/bin/gcc)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED true)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED true)

SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
SET( LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})
Expand Down

0 comments on commit def9720

Please sign in to comment.