Skip to content

Commit

Permalink
Merge pull request #106 from GOMC-WSU/hotfix_mac
Browse files Browse the repository at this point in the history
fixed compiling issues on macos
  • Loading branch information
Younes Nejahi authored Oct 24, 2018
2 parents 6dc7528 + 9caa20e commit 440f11d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ configure_file(
include_directories("${PROJECT_BINARY_DIR}")

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -stdlib=libstdc++")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -stdlib=libstdc++")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -stdlib=libc++")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -stdlib=libc++")
endif()

if(CMAKE_COMPILER_IS_GNUCXX)
Expand Down
2 changes: 2 additions & 0 deletions src/CellList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ along with this program, also can be found at <http://www.gnu.org/licenses/>.

#include <algorithm>

const int CellList::END_CELL;

CellList::CellList(const Molecules& mols, BoxDimensions& dims)
: mols(&mols)
{
Expand Down

0 comments on commit 440f11d

Please sign in to comment.