1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00

Fix author warning about cmake command order

CMake 3.26.0 introduced an author warning when the top-level project()
call precedes a cmake_minimum_required() call [1].

[1]: https://cmake.org/cmake/help/latest/release/3.26.html#other-changes
This commit is contained in:
Ferenc Erki 2023-07-22 19:48:29 +02:00 committed by Oliver Giles
parent dab620b01e
commit d2c58f0bcd

View File

@ -16,8 +16,8 @@
### You should have received a copy of the GNU General Public License ### You should have received a copy of the GNU General Public License
### along with Laminar. If not, see <http://www.gnu.org/licenses/> ### along with Laminar. If not, see <http://www.gnu.org/licenses/>
### ###
project(laminar)
cmake_minimum_required(VERSION 3.6) cmake_minimum_required(VERSION 3.6)
project(laminar)
set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)