Skip to content

Commit

Permalink
Merge pull request #3 from sfarrens/fftw
Browse files Browse the repository at this point in the history
FFTW Feature
  • Loading branch information
sfarrens authored Sep 8, 2020
2 parents 8f13b82 + 9090a5e commit bbbd857
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bigmac/BigMacConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ set(OUTDATED "You are not using the latest version of")
set(SUGGEST "You can continue your build, but if you experience problems \
you may want to consider updating.")

if(NOT BigMac_MACOS STREQUAL @MACOS_LATEST@)
if(BigMac_MACOS VERSION_LESS @MACOS_LATEST@)
message(WARNING "${OUTDATED} macOS (@MACOS_LATEST@). ${SUGGEST}")
endif()

if(NOT BigMac_DARWIN STREQUAL @DARWIN_LATEST@)
if(BigMac_DARWIN VERSION_LESS @DARWIN_LATEST@)
message(WARNING "${OUTDATED} Darwin (@DARWIN_LATEST@). ${SUGGEST}")
endif()

if(NOT BigMac_XCODE STREQUAL @XCODE_LATEST@)
if(BigMac_XCODE VERSION_LESS @XCODE_LATEST@)
message(WARNING "${OUTDATED} XCode (@XCODE_LATEST@). ${SUGGEST}")
endif()

Expand Down
5 changes: 4 additions & 1 deletion bigmac/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set(BIGMAC_VERSION
# Set latest version of macOS system
set(MACOS_LATEST "10.15.6")
set(DARWIN_LATEST "19.6.0")
set(XCODE_LATEST "11.6")
set(XCODE_LATEST "11.7")

export(PACKAGE bigmac)

Expand All @@ -33,3 +33,6 @@ list(TRANSFORM BIGMAC_TARGETS PREPEND "${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}

# Install CMake configuration files
install(FILES ${BIGMAC_TARGETS} DESTINATION ${INSTALL_CMAKE_DIR})

# Create dummy file so that CMake can find FFTW
file(TOUCH "/usr/local/lib/cmake/fftw3/FFTW3LibraryDepends.cmake")

0 comments on commit bbbd857

Please sign in to comment.