From fce9a9449bf5f9f1db9aff96637fb8851f192480 Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu Date: Fri, 24 Nov 2023 17:19:29 +0300 Subject: Local hacks for testing Signed-off-by: Andrew Randrianasulu --- CMakeLists.txt | 6 +++--- 1 file 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 -- cgit v1.2.1