Skip to content

Commit

Permalink
adjusted skbuild variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholaswogan committed Oct 27, 2023
1 parent 5287254 commit d5d971a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ set(CMAKE_Fortran_MODULE_DIRECTORY "${CMAKE_BINARY_DIR}/modules")
include(cmake/CPM.cmake)

# options
if (NOT DEFINED SKBUILD)
set(SKBUILD OFF CACHE STRING )
endif()
option(SKBUILD "Should be ON of being build by skbuild,
and OFF of being build by regular cmake" OFF)
message(STATUS "The project is built using scikit-build: ${SKBUILD}")

option(BUILD_EXECUTABLES "if ON, then will build the
Expand Down

0 comments on commit d5d971a

Please sign in to comment.