Unverified Commit e47d48ee authored by Richard Berger's avatar Richard Berger
Browse files

Change output message and use list(APPEND)

parent 954f7282
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -34,8 +34,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/Modules)

# make sure LIBRARY_PATH is set if environment variable is set
if (DEFINED ENV{LIBRARY_PATH})
  set(CMAKE_LIBRARY_PATH "$ENV{LIBRARY_PATH};${CMAKE_LIBRARY_PATH}")
  message(STATUS "Setting CMAKE_LIBRARY_PATH to ${CMAKE_LIBRARY_PATH}")
  list(APPEND CMAKE_LIBRARY_PATH "$ENV{LIBRARY_PATH}")
  message(STATUS "Appending $ENV{LIBRARY_PATH} to CMAKE_LIBRARY_PATH: ${CMAKE_LIBRARY_PATH}")
endif()

include(LAMMPSUtils)