Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Krita
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mathias Wein
Krita
Commits
3d28bfd4
Commit
3d28bfd4
authored
Apr 05, 2007
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix module when it's required
svn path=/trunk/koffice/; revision=650774
parent
34d68fec
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
4 deletions
+31
-4
cmake/modules/FindGSL.cmake
cmake/modules/FindGSL.cmake
+5
-0
cmake/modules/FindKunittest.cmake
cmake/modules/FindKunittest.cmake
+5
-1
cmake/modules/FindPqxx.cmake
cmake/modules/FindPqxx.cmake
+11
-2
cmake/modules/FindWV2.cmake
cmake/modules/FindWV2.cmake
+10
-1
No files found.
cmake/modules/FindGSL.cmake
View file @
3d28bfd4
...
...
@@ -66,8 +66,13 @@ ENDIF (GSL_INCLUDE_DIR AND GSL_LIBRARIES AND GSL_CBLAS_LIBRARIES AND GSL_VERSION
# output status
#
IF
(
GSL_FOUND
)
if
(
NOT GSL_FIND_QUIETLY
)
MESSAGE
(
STATUS
"Found GNU Scientific Library
${
GSL_VERSION
}
:
${
GSL_INCLUDE_DIR
}
${
GSL_LIBRARIES
}
;
${
GSL_CBLAS_LIBRARIES
}
"
)
endif
(
NOT GSL_FIND_QUIETLY
)
ELSE
(
GSL_FOUND
)
if
(
GSL_FIND_REQUIRED
)
MESSAGE
(
STATUS
"GNU Scientific Library not found. "
"KSpread's solver plugin won't be compiled."
)
endif
(
GSL_FIND_REQUIRED
)
ENDIF
(
GSL_FOUND
)
cmake/modules/FindKunittest.cmake
View file @
3d28bfd4
...
...
@@ -8,7 +8,7 @@
FIND_PATH
(
KUNITTEST_INCLUDE_DIR kunittest/tester.h
/usr/include
/usr/local/include
${
KDE4_INCLUDE_DIR
}
${
KDE4_INCLUDE_DIR
}
)
FIND_LIBRARY
(
KUNITTEST_LIBRARIES NAMES kunittest
...
...
@@ -27,6 +27,10 @@ if (KUNITTEST_FOUND)
if
(
NOT Kunittest_FIND_QUIETLY
)
message
(
STATUS
"Found kunittest:
${
KUNITTEST_LIBRARIES
}
"
)
endif
(
NOT Kunittest_FIND_QUIETLY
)
else
(
KUNITTEST_FOUND
)
if
(
Kunittest_FIND_REQUIRED
)
message
(
FATAL_ERROR
"Could NOT find kunitest"
)
endif
(
Kunittest_FIND_REQUIRED
)
endif
(
KUNITTEST_FOUND
)
MARK_AS_ADVANCED
(
KUNITTEST_INCLUDE_DIR KUNITTEST_LIBRARIES
)
...
...
cmake/modules/FindPqxx.cmake
View file @
3d28bfd4
...
...
@@ -18,11 +18,20 @@ find_library(PQXX_LIBRARIES NAMES pqxx
if
(
PQXX_INCLUDE_DIR AND PQXX_LIBRARIES
)
set
(
PQXX_FOUND TRUE
)
message
(
STATUS
"Found libpqxx:
${
PQXX_INCLUDE_DIR
}
,
${
PQXX_LIBRARIES
}
"
)
else
(
PQXX_INCLUDE_DIR AND PQXX_LIBRARIES
)
set
(
PQXX_FOUND FALSE
)
message
(
STATUS
"libpqxx not found."
)
endif
(
PQXX_INCLUDE_DIR AND PQXX_LIBRARIES
)
if
(
PQXX_FOUND
)
if
(
NOT Pqxx_FIND_QUIETLY
)
message
(
STATUS
"Found libpqxx:
${
PQXX_INCLUDE_DIR
}
,
${
PQXX_LIBRARIES
}
"
)
endif
(
NOT Pqxx_FIND_QUIETLY
)
else
(
PQXX_FOUND
)
if
(
Pqxx_FIND_REQUIRED
)
message
(
FATAL_ERROR
"libpqxx not found."
)
endif
(
Pqxx_FIND_REQUIRED
)
endif
(
PQXX_FOUND
)
mark_as_advanced
(
PQXX_INCLUDE_DIR PQXX_LIBRARIES
)
cmake/modules/FindWV2.cmake
View file @
3d28bfd4
...
...
@@ -24,7 +24,6 @@ ELSE (WV2_LIBRARIES AND WV2_INCLUDE_DIR)
IF
(
WV2_LIBRARIES AND WV2_INCLUDE_DIR
)
SET
(
WV2_FOUND TRUE
)
message
(
STATUS
"Found wv2:
${
WV2_LIBRARIES
}
"
)
ENDIF
(
WV2_LIBRARIES AND WV2_INCLUDE_DIR
)
# ensure that they are cached
...
...
@@ -33,5 +32,15 @@ ELSE (WV2_LIBRARIES AND WV2_INCLUDE_DIR)
ENDIF
(
WV2CONFIG_EXECUTABLE
)
if
(
WV2_FOUND
)
if
(
NOT WV2_FIND_QUIETLY
)
message
(
STATUS
"Found wv2:
${
WV2_LIBRARIES
}
"
)
endif
(
NOT WV2_FIND_QUIETLY
)
else
(
WV2_FOUND
)
if
(
WV2_FIND_REQUIRED
)
message
(
FATAL_ERROR
"Could NOT find OPENEXR"
)
endif
(
WV2_FIND_REQUIRED
)
endif
(
WV2_FOUND
)
ENDIF
(
WV2_LIBRARIES AND WV2_INCLUDE_DIR
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment