summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e792e04)
raw | patch | inline | side by side (parent: e792e04)
author | verbalshadow <verbalshadow@users.sourceforge.net> | |
Sun, 30 Mar 2008 20:01:07 +0000 (20:01 +0000) | ||
committer | verbalshadow <verbalshadow@users.sourceforge.net> | |
Sun, 30 Mar 2008 20:01:07 +0000 (20:01 +0000) |
CMakeLists.txt | patch | blob | history | |
CMakeScripts/ConfigInkscapeDepends.cmake | patch | blob | history |
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8c80565a1dd989e1c52e2c9bb39f31a5728fc0ec..07ed48787ad0a54580abe561157fe2c91b6fcd71 100644 (file)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
INCLUDE_DIRECTORIES (src/)\r
LINK_DIRECTORIES (src/)\r
\r
-# Set Compiler Flags\r
-SET(CMAKE_CXX_FLAGS "${GTK2_CFLAGS} ${cairo_CFLAGS} -Wall")\r
-SET(CMAKE_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM} -j2")\r
-\r
#SET(CMAKE_MAJOR_MINOR "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}")\r
#IF("${CMAKE_MAJOR_MINOR}" STREQUAL "2.2")\r
# SET(CMAKE_AR "ar")\r
index 4a12365e1f3e8fc8057a4b30a6bff03afec63825..5177248d3ef7c97f7684fd0957cf930645b60370 100644 (file)
# PKGCONFIG_VERSION(${dep} "${dep}_VERSION")
IF("${dep}_FOUND")
message(STATUS "${dep}: FOUND")
+ # Set Compiler Flags\r
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${dep_name_CFLAGS}")\r
ELSE("${dep}_FOUND")
message(STATUS "${dep}: NOT FOUND")
ENDIF("${dep}_FOUND")
# end Optional Dependencies
message(STATUS "")
message(STATUS "")
+
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
+SET(CMAKE_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM} -j2")
INCLUDE (CheckIncludeFiles)
# usage: CHECK_INCLUDE_FILES (<header> <RESULT_VARIABLE> )