Skip to content

Commit

Permalink
Fix minor build settings issues (#2339)
Browse files Browse the repository at this point in the history
* Pass UNITIALIZED (no type) settings to prescan

* Fix default CMAKE settings with =
  • Loading branch information
LeStarch authored Oct 25, 2023
1 parent 34f0287 commit a97ebf6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion cmake/prescan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ set(EXCLUDED_CACHE_VARIABLES
set(TYPES_DISALLOWED_LIST
INTERNAL
STATIC
UNINITIALIZED
)
# Directory in-which to build the prescan directory
set(PRESCAN_DIR "${CMAKE_BINARY_DIR}/prescan")
Expand Down
2 changes: 1 addition & 1 deletion cmake/settings/ini-to-stdio.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def print_setting(setting: str, value: str = "", ending: str = ";"):
def print_list_settings(items: List[str]):
"""Print a list of settings of form SETTING=VALUE"""
for item in items:
splits = item.strip().split("=")
splits = item.strip().split("=", 1)
if splits[0] != "":
print_setting(*splits)

Expand Down

0 comments on commit a97ebf6

Please sign in to comment.