Skip to content

Commit

Permalink
cmake: use SDLIMAGE_ROOTPROJECT'
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Dec 28, 2024
1 parent f72cc99 commit 189306a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ else()
set(SDLIMAGE_ROOTPROJECT OFF)
endif()


# By default, configure in RelWithDebInfo configuration
if(NOT SDL3_SUBPROJECT)
if(NOT SDLIMAGE_ROOTPROJECT)
get_property(is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
if(is_multi_config)
# The first item in CMAKE_CONFIGURATION_TYPES is the default configuration
Expand Down

0 comments on commit 189306a

Please sign in to comment.