mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-23 03:33:34 -04:00
29 lines
925 B
Plaintext
29 lines
925 B
Plaintext
$NetBSD: patch-CMakeLists.txt,v 1.2 2014/01/01 02:46:49 ryoon Exp $
|
|
|
|
* Link to system libraries
|
|
|
|
--- CMakeLists.txt.orig 2013-11-24 21:54:13.000000000 +0000
|
|
+++ CMakeLists.txt
|
|
@@ -3,7 +3,7 @@ project(SuperTuxKart)
|
|
set(PROJECT_VERSION "0.8.1")
|
|
|
|
cmake_minimum_required(VERSION 2.8.1)
|
|
-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake)
|
|
+set (CMAKE_MODULE_PATH "/usr/tmp/pkgsrc/games/supertuxkart/work/.buildlink/cmake-Modules" ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake)
|
|
|
|
include(BuildTypeSTKRelease)
|
|
if (NOT CMAKE_BUILD_TYPE)
|
|
@@ -231,7 +231,11 @@ target_link_libraries(supertuxkart
|
|
${OGGVORBIS_LIBRARIES}
|
|
${IRRLICHT_XF86VM_LIBRARY}
|
|
${OPENAL_LIBRARY}
|
|
- ${OPENGL_LIBRARIES})
|
|
+ ${OPENGL_LIBRARIES}
|
|
+ png
|
|
+ jpeg
|
|
+ bz2
|
|
+ z)
|
|
|
|
if(APPLE)
|
|
# In theory it would be cleaner to let CMake detect the right dependencies. In practice, this means that if a OSX user has
|