Don't have ../../ as part of the target name

This commit is contained in:
Chris Robinson 2013-07-02 02:02:57 -07:00
parent f23a28e8f3
commit 61c6a38f04
2 changed files with 5 additions and 4 deletions

View File

@ -875,7 +875,7 @@ IF(ALSOFT_UTILS)
)
MESSAGE(STATUS "Building utility programs")
IF(TARGET ../../alsoft-config)
IF(TARGET alsoft-config)
MESSAGE(STATUS "Building configuration program")
ENDIF()
MESSAGE(STATUS "")

View File

@ -17,10 +17,11 @@ if(QT4_FOUND)
set(alsoft-config_MOCS mainwindow.h)
QT4_WRAP_CPP(MOCS ${alsoft-config_MOCS})
add_executable(../../alsoft-config ${alsoft-config_SRCS} ${UIS} ${RSCS} ${TRS} ${MOCS})
target_link_libraries(../../alsoft-config ${QT_LIBRARIES})
add_executable(alsoft-config ${alsoft-config_SRCS} ${UIS} ${RSCS} ${TRS} ${MOCS})
target_link_libraries(alsoft-config ${QT_LIBRARIES})
set_target_properties(alsoft-config PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${OpenAL_BINARY_DIR})
install(TARGETS ../../alsoft-config
install(TARGETS alsoft-config
RUNTIME DESTINATION bin
LIBRARY DESTINATION "lib${LIB_SUFFIX}"
ARCHIVE DESTINATION "lib${LIB_SUFFIX}"