mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
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
fe80f44b35
commit
ea97e77bfe
@ -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…
x
Reference in New Issue
Block a user