mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 05:06:12 +01:00
Add missing window module
This commit is contained in:
1 parent
a9cdb1ad4d
commit
714e95a56e
1 file changed
+4
-1
@@ -28,6 +28,9 @@ endif()
|
||||
if(CSFML_BUILD_GRAPHICS)
|
||||
list(PREPEND SFML_MODULES "graphics")
|
||||
endif()
|
||||
if(CSFML_BUILD_WINDOW)
|
||||
list(PREPEND SFML_MODULES "window")
|
||||
endif()
|
||||
if(CSFML_BUILD_NETWORK)
|
||||
list(PREPEND SFML_MODULES "network")
|
||||
endif()
|
||||
@@ -36,7 +39,7 @@ find_package(SFML 2.6 COMPONENTS ${SFML_MODULES} REQUIRED)
|
||||
# add the modules subdirectories
|
||||
add_subdirectory(System)
|
||||
|
||||
if(CSFML_BUILD_WINDOW OR SFML_BUILD_GRAPHICS)
|
||||
if(CSFML_BUILD_WINDOW OR CSFML_BUILD_GRAPHICS)
|
||||
add_subdirectory(Window)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in new issue
Block a user