mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-28 13:46:13 +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)
|
if(CSFML_BUILD_GRAPHICS)
|
||||||
list(PREPEND SFML_MODULES "graphics")
|
list(PREPEND SFML_MODULES "graphics")
|
||||||
endif()
|
endif()
|
||||||
|
if(CSFML_BUILD_WINDOW)
|
||||||
|
list(PREPEND SFML_MODULES "window")
|
||||||
|
endif()
|
||||||
if(CSFML_BUILD_NETWORK)
|
if(CSFML_BUILD_NETWORK)
|
||||||
list(PREPEND SFML_MODULES "network")
|
list(PREPEND SFML_MODULES "network")
|
||||||
endif()
|
endif()
|
||||||
@@ -36,7 +39,7 @@ find_package(SFML 2.6 COMPONENTS ${SFML_MODULES} REQUIRED)
|
|||||||
# add the modules subdirectories
|
# add the modules subdirectories
|
||||||
add_subdirectory(System)
|
add_subdirectory(System)
|
||||||
|
|
||||||
if(CSFML_BUILD_WINDOW OR SFML_BUILD_GRAPHICS)
|
if(CSFML_BUILD_WINDOW OR CSFML_BUILD_GRAPHICS)
|
||||||
add_subdirectory(Window)
|
add_subdirectory(Window)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user