Skip to content

Commit

Permalink
Fix for bug 29003778 MASTER : CMAKE FAILS WHEN VARIABLE PRODUCT_ID IS…
Browse files Browse the repository at this point in the history
… NOT SET
  • Loading branch information
Bogdan Degtyariov committed Dec 5, 2018
1 parent fc0ed77 commit 86756ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/info_bin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

FUNCTION(GENERATE_INFO_BIN)

IF(DEFINED ENV{PRODUCT_ID} AND $ENV{PRODUCT_ID} MATCHES "source-dist")
IF(DEFINED ENV{PRODUCT_ID} AND "$ENV{PRODUCT_ID}" MATCHES "source-dist")
MESSAGE("Generating INFO_BIN is skipped for the source package")
RETURN()
ENDIF()
Expand Down

0 comments on commit 86756ed

Please sign in to comment.