Skip to content

Commit

Permalink
cmake: use SDLIMAGE_ROOTPROJECT properly
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Dec 28, 2024
1 parent 189306a commit d2e1fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ else()
endif()

# By default, configure in RelWithDebInfo configuration
if(NOT SDLIMAGE_ROOTPROJECT)
if(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 d2e1fd9

Please sign in to comment.