Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to PHP SWIG MapScript CMakeLists #5797

Merged
merged 1 commit into from
Apr 29, 2019

Conversation

geographika
Copy link
Member

This pull request contains the following changes to CMakeLists.txt:

  • indentation for clarity for If statements
  • allow it to run with older versions of CMake (or get errors such as CMakeLists.txt:44 (SWIG_ADD_LIBRARY): Unknown CMake command "SWIG_ADD_LIBRARY".
  • include the CMAKE_CURRENT_BINARY_DIR to make sure mapscriptPHP7_wrap.c is found
  • add the compiler flag -Wno-unused-label to avoid hundreds of "defined but not used" warnings

@geographika geographika merged commit 4f3ef6b into MapServer:branch-7-4 Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant