Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
fd15b5e1
Commit
fd15b5e1
authored
Aug 11, 2011
by
Alexander Neundorf
Browse files
Only run the test if we are using a makefile generator under UNIX
Alex
parent
9fc87c63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Tests/FindPackageModeMakefileTest/CMakeLists.txt
View file @
fd15b5e1
...
...
@@ -8,7 +8,7 @@ if("${CMAKE_CXX_COMPILER_ID}" MATCHES GNU
find_package
(
PNG
)
# the test program links against the png lib, so test first whether it exists
if
(
PNG_FOUND
)
if
(
PNG_FOUND
AND UNIX AND
"
${
CMAKE_GENERATOR
}
"
MATCHES
"Makefile"
)
get_target_property
(
cmakeExecutable cmake LOCATION
)
...
...
Write
Preview
Supports
Markdown
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