File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 20
20
add_definitions ("-DHAVE_CONFIG_H" )
21
21
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99" )
22
22
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fno-strict-aliasing" )
23
-
23
+ set ( CMAKE_C_FLAGS " ${CMAKE_C_FLAGS} -Wl -subsystem,console,debug" )
24
24
25
25
#if(NOT APPLE)
26
26
# apple build fails on deprecated warnings..
@@ -74,6 +74,7 @@ ENDIF (${OPENPABLO_SHARED_LIBS})
74
74
#
75
75
76
76
add_executable (openpablo main.cpp ) # add config.h
77
+ set (LINK_FLAGS "${LINK_FLAGS} -mwindows -mdebug -mconsole" )
77
78
target_link_libraries (openpablo ${openpablo_libs} ${QT_LIBRARIES} ${RawTherapeeEngine_LIBRARY} ${LibMagic_LIBRARY} ${LENSFUN_LIBRARIES} ${OpenCV_LIBS} ${LIBPODOFO_LIBRARY} ${ImageMagick_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${EXIV2_LIBRARIES} )
78
79
79
80
You can’t perform that action at this time.
0 commit comments