[llvm] r201859 - [CMake] llvm-c/lto.h should be installed if libLTO.a is built.
NAKAMURA Takumi
geek4civic at gmail.com
Fri Feb 21 06:57:10 PST 2014
Author: chapuni
Date: Fri Feb 21 08:57:09 2014
New Revision: 201859
URL: http://llvm.org/viewvc/llvm-project?rev=201859&view=rev
Log:
[CMake] llvm-c/lto.h should be installed if libLTO.a is built.
Modified:
llvm/trunk/tools/lto/CMakeLists.txt
Modified: llvm/trunk/tools/lto/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/CMakeLists.txt?rev=201859&r1=201858&r2=201859&view=diff
==============================================================================
--- llvm/trunk/tools/lto/CMakeLists.txt (original)
+++ llvm/trunk/tools/lto/CMakeLists.txt Fri Feb 21 08:57:09 2014
@@ -22,7 +22,5 @@ endif()
add_llvm_library(LTO ${ENABLE_SHARED} STATIC ${SOURCES})
-if( NOT CYGWIN )
- install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/lto.h
- DESTINATION include/llvm-c)
-endif()
+install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/lto.h
+ DESTINATION include/llvm-c)
More information about the llvm-commits
mailing list