Skip to content

Commit

Permalink
remove glaze from cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenberry committed Jul 31, 2023
1 parent 8a82dad commit 7fe28ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmake/install-config.cmake
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include("${CMAKE_CURRENT_LIST_DIR}/glazeTargets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/argzTargets.cmake")
12 changes: 6 additions & 6 deletions cmake/variables.cmake
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# ---- Developer mode ----

# Developer mode enables targets and code paths in the CMake scripts that are
# only relevant for the developer(s) of glaze
# only relevant for the developer(s) of argz
# Targets necessary to build the project must be provided unconditionally, so
# consumers can trivially build and package the project
if(PROJECT_IS_TOP_LEVEL)
option(glaze_DEVELOPER_MODE "Enable developer mode" OFF)
option(argz_DEVELOPER_MODE "Enable developer mode" OFF)
endif()

# ---- Warning guard ----
Expand All @@ -17,12 +17,12 @@ endif()
set(warning_guard "")
if(NOT PROJECT_IS_TOP_LEVEL)
option(
glaze_INCLUDES_WITH_SYSTEM
"Use SYSTEM modifier for glaze's includes, disabling warnings"
argz_INCLUDES_WITH_SYSTEM
"Use SYSTEM modifier for argz's includes, disabling warnings"
ON
)
mark_as_advanced(glaze_INCLUDES_WITH_SYSTEM)
if(glaze_INCLUDES_WITH_SYSTEM)
mark_as_advanced(argz_INCLUDES_WITH_SYSTEM)
if(argz_INCLUDES_WITH_SYSTEM)
set(warning_guard SYSTEM)
endif()
endif()

0 comments on commit 7fe28ec

Please sign in to comment.