Skip to content

Commit

Permalink
Removing appending of library dirs for exec creation.
Browse files Browse the repository at this point in the history
You don't need to set library dirs.  CMake automatically knows the right
library dir when you link the target library.
  • Loading branch information
Roscoe A. Bartlett committed Feb 21, 2014
1 parent d91f059 commit 8cfbbac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package_arch/TribitsAddExecutable.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ FUNCTION(TRIBITS_ADD_EXECUTABLE EXE_NAME)
IF (NOT PACKAGE_ADD_EXECUTABLE_UNIT_TESTING)
INCLUDE_DIRECTORIES(REQUIRED_DURING_INSTALLATION_TESTING
${${PACKAGE_NAME}_INCLUDE_DIRS})
SET_PROPERTY(DIRECTORY APPEND PROPERTY PACKAGE_LIBRARY_DIRS
${${PACKAGE_NAME}_LIBRARY_DIRS})
# SET_PROPERTY(DIRECTORY APPEND PROPERTY PACKAGE_LIBRARY_DIRS
# ${${PACKAGE_NAME}_LIBRARY_DIRS})
ENDIF()

SET (EXE_SOURCES)
Expand Down

0 comments on commit 8cfbbac

Please sign in to comment.