forked from OSchip/llvm-project
CMake: Removed unnecessary library path setting that was breaking the
build on OS X. Fix by Jjgod Jiang! llvm-svn: 59048
This commit is contained in:
parent
03e084d482
commit
90cf22e013
|
@ -27,9 +27,6 @@ macro(add_llvm_executable name)
|
||||||
target_link_libraries(${name} ${llvm_libs})
|
target_link_libraries(${name} ${llvm_libs})
|
||||||
else( MSVC )
|
else( MSVC )
|
||||||
add_dependencies(${name} llvm-config.target)
|
add_dependencies(${name} llvm-config.target)
|
||||||
set_target_properties(${name}
|
|
||||||
PROPERTIES
|
|
||||||
LINK_FLAGS "-L ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}")
|
|
||||||
if( MINGW )
|
if( MINGW )
|
||||||
target_link_libraries(${name} DbgHelp psapi)
|
target_link_libraries(${name} DbgHelp psapi)
|
||||||
elseif( CMAKE_HOST_UNIX )
|
elseif( CMAKE_HOST_UNIX )
|
||||||
|
|
Loading…
Reference in New Issue