Skip to content

Commit 714e95a

Browse files
committed
Add missing window module
1 parent a9cdb1a commit 714e95a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/SFML/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ endif()
2828
if(CSFML_BUILD_GRAPHICS)
2929
list(PREPEND SFML_MODULES "graphics")
3030
endif()
31+
if(CSFML_BUILD_WINDOW)
32+
list(PREPEND SFML_MODULES "window")
33+
endif()
3134
if(CSFML_BUILD_NETWORK)
3235
list(PREPEND SFML_MODULES "network")
3336
endif()
@@ -36,7 +39,7 @@ find_package(SFML 2.6 COMPONENTS ${SFML_MODULES} REQUIRED)
3639
# add the modules subdirectories
3740
add_subdirectory(System)
3841

39-
if(CSFML_BUILD_WINDOW OR SFML_BUILD_GRAPHICS)
42+
if(CSFML_BUILD_WINDOW OR CSFML_BUILD_GRAPHICS)
4043
add_subdirectory(Window)
4144
endif()
4245

0 commit comments

Comments
 (0)