Skip to content

Commit

Permalink
kram - build - cmake fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alecazam committed Sep 15, 2024
1 parent 0478800 commit 78b6b41
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ set(BUILD_MAC FALSE)
set(BUILD_WIN FALSE)

if (APPLE)
message("build for macOS")
message(STATUS "build for macOS")
set(BUILD_MAC TRUE)
elseif (WIN32)
message("build for win x64")
message(STATUS "build for win x64")
set(BUILD_WIN TRUE)
endif()

Expand Down Expand Up @@ -43,11 +43,7 @@ if (BUILD_WIN)
# set(CMAKE_CXX_COMPILER "clang-cl")

# want to only use clang across all platforms
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
message(STATUS "Using Clang compiler")
else
message(STATUS "Using MSVC compiler")
endif()
message(STATUS "Using ${CMAKE_CXX_COMPILER_ID} compiler")

#-----------------------------------------------------

Expand Down

0 comments on commit 78b6b41

Please sign in to comment.