removing ROSS_obj from Cmake build - no longer necessary with single library creation
@@ -143,11 +143,9 @@ ENDIF(CMAKE_BUILD_TYPE MATCHES Debug)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DROSS_OPTION_LIST='\"${OPTIONS}\"'")
# Generate Library
-ADD_LIBRARY(ROSS_obj OBJECT ${ross_srcs} ${version_file})
-
OPTION(ROSS_BUILD_SHARED_LIBS "Build shared libraries instead of static" OFF)
SET(BUILD_SHARED_LIBS ${ROSS_BUILD_SHARED_LIBS})
-ADD_LIBRARY(ROSS $<TARGET_OBJECTS:ROSS_obj>)
+ADD_LIBRARY(ROSS ${ross_srcs} ${version_file})
SET_TARGET_PROPERTIES(ROSS PROPERTIES OUTPUT_NAME ROSS)
TARGET_LINK_LIBRARIES(ROSS ${ROSS_EXTERNAL_LIBS})
TARGET_INCLUDE_DIRECTORIES(ROSS INTERFACE ${MPI_C_INCLUDE_PATH})
