summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Randrianasulu <randrianasulu@gmail.com>2023-11-24 17:19:29 +0300
committerAndrew Randrianasulu <randrianasulu@gmail.com>2023-11-24 17:19:29 +0300
commitfce9a9449bf5f9f1db9aff96637fb8851f192480 (patch)
treeb08f6f6bbff61137dca7a8ce84f8f2ab84a59c91
parent45f8f12863ba59efc902a92a4e8bc1ca33db80ff (diff)
downloadlibkdcraw-fce9a9449bf5f9f1db9aff96637fb8851f192480.tar.gz
libkdcraw-fce9a9449bf5f9f1db9aff96637fb8851f192480.zip
Local hacks for testingfeat/libraw-update
Signed-off-by: Andrew Randrianasulu <randrianasulu@gmail.com>
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b60c0cd..b79a379 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,7 +7,7 @@
############################################
-cmake_minimum_required( VERSION 3.5 )
+cmake_minimum_required( VERSION 3.1 )
#### general package setup
@@ -69,9 +69,9 @@ include( ConfigureChecks.cmake )
add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
-set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
+set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined -L/usr/X11R7/lib" )
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
-
+set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -llcms -ljasper -lm -ljpeg -L/usr/X11R7/lib")
##### directories