Skip to content

Commit 2c2583a

Browse files
committed
cmake: print user-provided compiler flags
1 parent 2cd75ba commit 2c2583a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2011 - 2020 Red Hat, Inc.
1+
# Copyright (C) 2011 - 2022 Red Hat, Inc.
22
#
33
# This file is part of csdiff.
44
#
@@ -14,6 +14,7 @@
1414
#
1515
# You should have received a copy of the GNU General Public License
1616
# along with csdiff. If not, see <http://www.gnu.org/licenses/>.
17+
message(STATUS "User-provided flags: ${CMAKE_CXX_FLAGS}")
1718

1819
add_definitions(-Wall -Wextra -fPIC -std=c++11)
1920

0 commit comments

Comments
 (0)