Fix CMake variables to allow adding SFML as a dependency.
This commit is contained in:
parent
550ef632e3
commit
13986b2a3b
20 changed files with 44 additions and 44 deletions
|
@ -1,5 +1,5 @@
|
|||
|
||||
set(SRCROOT ${CMAKE_SOURCE_DIR}/examples/X11)
|
||||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/X11)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/X11.cpp)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
set(SRCROOT ${CMAKE_SOURCE_DIR}/examples/ftp)
|
||||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/ftp)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/Ftp.cpp)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
set(SRCROOT ${CMAKE_SOURCE_DIR}/examples/opengl)
|
||||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/opengl)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/OpenGL.cpp)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
set(SRCROOT ${CMAKE_SOURCE_DIR}/examples/pong)
|
||||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/pong)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/Pong.cpp)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
set(SRCROOT ${CMAKE_SOURCE_DIR}/examples/shader)
|
||||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/shader)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/Shader.cpp)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
set(SRCROOT ${CMAKE_SOURCE_DIR}/examples/sockets)
|
||||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/sockets)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/Sockets.cpp
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
set(SRCROOT ${CMAKE_SOURCE_DIR}/examples/sound)
|
||||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/sound)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/Sound.cpp)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
set(SRCROOT ${CMAKE_SOURCE_DIR}/examples/sound_capture)
|
||||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/sound_capture)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/SoundCapture.cpp)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
set(SRCROOT ${CMAKE_SOURCE_DIR}/examples/voip)
|
||||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/voip)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/VoIP.cpp
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
set(SRCROOT ${CMAKE_SOURCE_DIR}/examples/win32)
|
||||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/win32)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/Win32.cpp)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
set(SRCROOT ${CMAKE_SOURCE_DIR}/examples/window)
|
||||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/window)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/Window.cpp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue