aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/linux/ExtraTargets.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/scripts/linux/ExtraTargets.cmake')
-rw-r--r--cmake/scripts/linux/ExtraTargets.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/scripts/linux/ExtraTargets.cmake b/cmake/scripts/linux/ExtraTargets.cmake
index 2bb5f6fa01..4698c2ac68 100644
--- a/cmake/scripts/linux/ExtraTargets.cmake
+++ b/cmake/scripts/linux/ExtraTargets.cmake
@@ -2,11 +2,11 @@
if(ENABLE_X11 AND X_FOUND AND XRANDR_FOUND)
find_package(X QUIET)
find_package(XRandR QUIET)
- add_executable(${APP_NAME_LC}-xrandr ${CORE_SOURCE_DIR}/xbmc-xrandr.c)
+ add_executable(${APP_NAME_LC}-xrandr ${CMAKE_SOURCE_DIR}/xbmc-xrandr.c)
target_link_libraries(${APP_NAME_LC}-xrandr ${SYSTEM_LDFLAGS} ${X_LIBRARIES} m ${XRANDR_LIBRARIES})
endif()
# WiiRemote
if(ENABLE_EVENTCLIENTS)
- add_subdirectory(${CORE_SOURCE_DIR}/tools/EventClients/Clients/WiiRemote build/WiiRemote)
+ add_subdirectory(${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/WiiRemote build/WiiRemote)
endif()