Merge pull request #460 from richardlford/driverconfig

Correct main CMakeLists.txt file for standalone executables.
This commit is contained in:
Richard L Ford 2015-04-20 13:33:58 -07:00
Родитель 348ce648be 88dd628bac
Коммит 2ad3639ae1
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -87,6 +87,10 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )
# They are used as destination of target generators.
set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin)
set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})
set( LLILC_BUILT_STANDALONE 1 )
find_package(LibXml2)