Files
swift-mirror/tools/swift-llvm-opt/CMakeLists.txt
Michael Gottesman 4390d96adc Fix the linux build by appeasing the linker gods.
Swift SVN r32824
2015-10-22 07:05:34 +00:00

19 lines
348 B
CMake

add_swift_executable(swift-llvm-opt
LLVMOpt.cpp
LINK_LIBRARIES
swiftIRGen
# Swift libraries included to appease the linker on linux.
swiftSema
swiftAST
# Clang libraries included to appease the linker on linux.
clangBasic
clangCodeGen
)
swift_install_in_component(tools
TARGETS swift-llvm-opt
RUNTIME DESTINATION bin)