diff options
author | Brad King <brad.king@kitware.com> | 2012-02-08 16:58:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-02-09 13:38:56 (GMT) |
commit | 1e16406dc9a8c5bdad7adbed8c3b6cee0a7020d0 (patch) | |
tree | ca7a67556eac7a4a3f64ca71b316fbd5c966472f /Tests/VSGNUFortran/subdir | |
parent | 6f6891b33736918f149279dc7d1e9ade50efd917 (diff) | |
download | CMake-1e16406dc9a8c5bdad7adbed8c3b6cee0a7020d0.zip CMake-1e16406dc9a8c5bdad7adbed8c3b6cee0a7020d0.tar.gz CMake-1e16406dc9a8c5bdad7adbed8c3b6cee0a7020d0.tar.bz2 |
CMakeAddFortranSubdirectory: Add NO_EXTERNAL_INSTALL option
We do not yet support "make install" in the external project case.
Document this explicitly in the interface. Require the caller to use an
option to "disable" the unsupported behavior. This will allow us to add
the behavior by default in the future without clobbering existing
projects that handle the installation themselves.
Diffstat (limited to 'Tests/VSGNUFortran/subdir')
-rw-r--r-- | Tests/VSGNUFortran/subdir/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/VSGNUFortran/subdir/CMakeLists.txt b/Tests/VSGNUFortran/subdir/CMakeLists.txt index df018b3..0b99199 100644 --- a/Tests/VSGNUFortran/subdir/CMakeLists.txt +++ b/Tests/VSGNUFortran/subdir/CMakeLists.txt @@ -12,4 +12,5 @@ cmake_add_fortran_subdirectory(fortran -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=${CMAKE_LIBRARY_OUTPUT_DIRECTORY} LINK_LIBRARIES # link interface libraries LINK_LIBS hello world # hello needs world to link - ) + NO_EXTERNAL_INSTALL + ) |