Skip to content

Commit

Permalink
extra description on option commands
Browse files Browse the repository at this point in the history
  • Loading branch information
pd3v committed Sep 11, 2024
1 parent d6c2f5a commit e102cd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.19.2)

set(CMAKE_CXX_STANDARD 17)

option(GIT_ACTION FALSE)
option(BUILD_17 TRUE)
option(GIT_ACTION "Is Git Action" OFF)
option(BUILD_17 "Building as C++17" ON)

if(APPLE AND NOT GIT_ACTION)
if(BUILD_17)
Expand All @@ -12,7 +12,7 @@ if(APPLE AND NOT GIT_ACTION)
else()
set(CMAKE_C_COMPILER /usr/bin/clang)
set(CMAKE_CXX_COMPILER /usr/bin/clang++)
endif(BUILD_17)
endif()
endif()

if(LINUX AND GIT_ACTION)
Expand Down

0 comments on commit e102cd8

Please # to comment.