Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: CMakeLists.txt

Issue 1041303002: Subzero: Fix the cmake build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: CMakeLists.txt
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8db25d893f05fc35c761a451470c3f9600cc1b83..43f8e9c4f247cc515b47941261d4f6d67b45157c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,4 +18,10 @@ add_definitions(
-DALLOW_MINIMAL_BUILD=0
)
+if(PNACL_BROWSER_TRANSLATOR)
+ add_definitions(-DPNACL_BROWSER_TRANSLATOR=1)
+else()
+ add_definitions(-DPNACL_BROWSER_TRANSLATOR=0)
+endif()
+
target_link_libraries(pnacl-sz pthread)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698