This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
f23cc1d3d8
CMake
/
Tests
/
RunCMake
/
ExportWithoutLanguage
/
CMakeLists.txt
4 lines
101 B
CMake
Raw
Normal View
History
Unescape
Escape
Cygwin: Avoid legacy warnings in RunCMake.* tests Set the minimum required version of CMake high enough to avoid the warning for CMAKE_LEGACY_CYGWIN_WIN32. The warning appears on stderr and breaks the expected output matching.
2013-08-13 17:46:14 +04:00
cmake_minimum_required
(
VERSION
2.8.4
)
export: Error when exporting a target without a language First, it prevents a NULL dereference and second it reiterates that targets without languages are not supported by CMake. Add a RunCMake.ExportWithoutLanguage test exporting a library without a languages.
2013-07-23 01:25:21 +04:00
project
(
${
RunCMake_TEST
}
NONE
)
include
(
${
RunCMake_TEST
}
.cmake
)