Fix CMake variables to allow adding SFML as a dependency.

This commit is contained in:
Martin Foot 2011-08-07 14:33:42 +01:00
parent 550ef632e3
commit 13986b2a3b
20 changed files with 44 additions and 44 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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

View file

@ -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)

View file

@ -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)

View file

@ -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

View file

@ -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)

View file

@ -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)